diff options
author | Stavros Aronis <[email protected]> | 2011-02-18 20:02:00 +0200 |
---|---|---|
committer | Stavros Aronis <[email protected]> | 2011-02-28 17:13:50 +0200 |
commit | 059ca05caa95d91411c071c8542cef400a066e17 (patch) | |
tree | 073196bc28cc9f7ad4c46941d58351d14121ced8 /lib/dialyzer/test/remake | |
parent | 8bbf860b2f21571a4675a1a031cb95f25a10f391 (diff) | |
download | otp-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-x | lib/dialyzer/test/remake | 10 |
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 |