diff options
| author | Jack Nagel | 2014-05-26 21:19:43 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-26 21:32:11 -0500 |
| commit | 73ef199d35d54c6a7d5512229887c79e78fbe757 (patch) | |
| tree | 188abdda2e029979f4bbcac09297f0f4ac6f2448 /Library/Formula/erlang.rb | |
| parent | 7135fcf93e77a15e3d4b9cd214f8abc001af18a9 (diff) | |
| download | homebrew-73ef199d35d54c6a7d5512229887c79e78fbe757.tar.bz2 | |
erlang: clean up test
Diffstat (limited to 'Library/Formula/erlang.rb')
| -rw-r--r-- | Library/Formula/erlang.rb | 9 |
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 |
