diff options
| author | Adam Vandenberg | 2010-09-20 11:55:49 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-09-20 11:55:49 -0700 |
| commit | 1d1b6379401e8b278f778dedf10f618524249ee5 (patch) | |
| tree | 081985951d401098d7b679a03de9b171961fd9c4 /Library | |
| parent | 17f81a366cc875513b7a91e6f4cf06352e2c4562 (diff) | |
| download | homebrew-1d1b6379401e8b278f778dedf10f618524249ee5.tar.bz2 | |
erlang - add test from bug #120
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/erlang.rb | 6 |
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 |
