diff options
author | Peter Andersson <[email protected]> | 2014-03-05 14:44:15 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2014-03-05 18:33:14 +0100 |
commit | 62ee1879ea5cc8c9662983c64630d7bb87a275a3 (patch) | |
tree | ca446e4c116bceed728a4f04e152e626627f7a25 /lib/test_server/src/ts_run.erl | |
parent | c199bd2923e7d733e60beb9bd27b3852cbb2e699 (diff) | |
download | otp-62ee1879ea5cc8c9662983c64630d7bb87a275a3.tar.gz otp-62ee1879ea5cc8c9662983c64630d7bb87a275a3.tar.bz2 otp-62ee1879ea5cc8c9662983c64630d7bb87a275a3.zip |
Add flag to abort test run if suites fail to compile
OTP-11769
Diffstat (limited to 'lib/test_server/src/ts_run.erl')
-rw-r--r-- | lib/test_server/src/ts_run.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/test_server/src/ts_run.erl b/lib/test_server/src/ts_run.erl index d96abfc55a..18d021f780 100644 --- a/lib/test_server/src/ts_run.erl +++ b/lib/test_server/src/ts_run.erl @@ -398,8 +398,9 @@ make_common_test_args(Args0, Options0, _Vars) -> end, ConfigFiles = [{config,[filename:join(ConfigPath,File) || File <- get_config_files()]}], - io_lib:format("~100000p",[Args0++Trace++Cover++Logdir++ - ConfigFiles++Options++TimeTrap]). + io_lib:format("~100000p",[[{abort_if_missing_suites,true} | + Args0++Trace++Cover++Logdir++ + ConfigFiles++Options++TimeTrap]]). to_list(X) when is_atom(X) -> atom_to_list(X); |