aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/erlang.rb
diff options
context:
space:
mode:
authorJack Nagel2014-05-26 21:19:43 -0500
committerJack Nagel2014-05-26 21:32:11 -0500
commit73ef199d35d54c6a7d5512229887c79e78fbe757 (patch)
tree188abdda2e029979f4bbcac09297f0f4ac6f2448 /Library/Formula/erlang.rb
parent7135fcf93e77a15e3d4b9cd214f8abc001af18a9 (diff)
downloadhomebrew-73ef199d35d54c6a7d5512229887c79e78fbe757.tar.bz2
erlang: clean up test
Diffstat (limited to 'Library/Formula/erlang.rb')
-rw-r--r--Library/Formula/erlang.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 012478905..ce80cf72a 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -51,7 +51,6 @@ class Erlang < Formula
end
option 'disable-hipe', "Disable building hipe; fails on various OS X systems"
- option 'time', '`brew test --time` to include a time-consuming test'
option 'with-native-libs', 'Enable native library compilation'
option 'with-dirty-schedulers', 'Enable experimental dirty schedulers'
option 'no-docs', 'Do not install documentation'
@@ -131,13 +130,7 @@ class Erlang < Formula
end
test do
- `#{bin}/erl -noshell -eval 'crypto:start().' -s init stop`
-
- # This test takes some time to run, but per bug #120 should finish in
- # "less than 20 minutes". It takes about 20 seconds on a Mac Pro (2009).
- if build.include?("time") && !build.head?
- `#{bin}/dialyzer --build_plt -r #{lib}/erlang/lib/kernel-2.16.4/ebin/`
- end
+ system "#{bin}/erl", "-noshell", "-eval", "crypto:start().", "-s", "init", "stop"
end
end