Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

in run_erl_tests always erlc first

  • Loading branch information...
commit 6773aa0c09dae3f6cd29230e0e0d7c004f651c71 1 parent f846a87
Kresten Krab Thorup krestenkrab authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 run_erl_tests.sh
6 run_erl_tests.sh
View
@@ -1,9 +1,11 @@
#!/bin/sh
+(cd src/test/erl; erlc *.erl)
+
CMD=""
for f in src/test/erl/*_tests.beam; do
test=`basename $f .beam`
- CMD="$CMD -run $test test"
+ CMD="$CMD -s $test test"
done
-./erl.sh -noshell -pa ./src/test/erl $CMD -run erlang halt
+./erl.sh -noshell -pa ./src/test/erl $CMD -s erlang halt
Please sign in to comment.
Something went wrong with that request. Please try again.