aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2014-03-12 16:52:55 +0100
committerPeter Andersson <[email protected]>2014-03-12 16:53:57 +0100
commitd7f10591bca66cc22b3d56d831373717708abf8a (patch)
tree2fd47e32ddd4ba9ceb9965a3132a4a7c9ce59e36 /lib/test_server
parent7922755473c7ddf5de118e38955c4ad977fe4564 (diff)
parent62ee1879ea5cc8c9662983c64630d7bb87a275a3 (diff)
downloadotp-d7f10591bca66cc22b3d56d831373717708abf8a.tar.gz
otp-d7f10591bca66cc22b3d56d831373717708abf8a.tar.bz2
otp-d7f10591bca66cc22b3d56d831373717708abf8a.zip
Merge branch 'peppe/common_test/auto_compile_flag'
* peppe/common_test/auto_compile_flag: Add flag to abort test run if suites fail to compile OTP-11769
Diffstat (limited to 'lib/test_server')
-rw-r--r--lib/test_server/src/ts_run.erl5
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);