aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-20 11:55:49 -0700
committerAdam Vandenberg2010-09-20 11:55:49 -0700
commit1d1b6379401e8b278f778dedf10f618524249ee5 (patch)
tree081985951d401098d7b679a03de9b171961fd9c4 /Library
parent17f81a366cc875513b7a91e6f4cf06352e2c4562 (diff)
downloadhomebrew-1d1b6379401e8b278f778dedf10f618524249ee5.tar.bz2
erlang - add test from bug #120
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/erlang.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 9b8ccf68e..2792c6ffc 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -66,5 +66,11 @@ class Erlang <Formula
def test
`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 a few minutes on a Mac Pro (2009).
+ if ARGV.include? "--time"
+ `dialyzer --build_plt -r #{lib}/erlang/lib/kernel-2.14.1/ebin/`
+ end
end
end