aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/remake
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2011-02-18 20:02:00 +0200
committerStavros Aronis <[email protected]>2011-02-28 17:13:50 +0200
commit059ca05caa95d91411c071c8542cef400a066e17 (patch)
tree073196bc28cc9f7ad4c46941d58351d14121ced8 /lib/dialyzer/test/remake
parent8bbf860b2f21571a4675a1a031cb95f25a10f391 (diff)
downloadotp-059ca05caa95d91411c071c8542cef400a066e17.tar.gz
otp-059ca05caa95d91411c071c8542cef400a066e17.tar.bz2
otp-059ca05caa95d91411c071c8542cef400a066e17.zip
Major restructure of dialyzer's testsuite
Generation of the PLT is now performed without using OS commands. We still try to copy in the default plt to make small scale testing efficient. If generation/checking fails, suites are skipped except plt_tests_SUITE which contains a bare PLT check that fails normally.
Diffstat (limited to 'lib/dialyzer/test/remake')
-rwxr-xr-xlib/dialyzer/test/remake10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/dialyzer/test/remake b/lib/dialyzer/test/remake
index 1b8af050ef..654bdd9e88 100755
--- a/lib/dialyzer/test/remake
+++ b/lib/dialyzer/test/remake
@@ -1,5 +1,9 @@
#!/bin/bash
-erlc +warn_exported_vars +warn_unused_import +warn_untyped_record +warn_missing_spec generator.erl
-erl -noshell -run generator suite "$1" -s erlang halt
-rm generator.beam \ No newline at end of file
+erlc +warn_exported_vars +warn_unused_import +warn_untyped_record +warn_missing_spec dialyzer_common.erl file_utils.erl
+if [ -n "$1" ]; then
+ erl -noshell -run dialyzer_common create_suite "$1" -s erlang halt
+else
+ erl -noshell -run dialyzer_common create_all_suites -s erlang halt
+fi
+rm dialyzer_common.beam file_utils.beam \ No newline at end of file