aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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