diff options
author | Peter Andersson <[email protected]> | 2014-03-12 16:52:55 +0100 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2014-03-12 16:53:57 +0100 |
commit | d7f10591bca66cc22b3d56d831373717708abf8a (patch) | |
tree | 2fd47e32ddd4ba9ceb9965a3132a4a7c9ce59e36 /lib/common_test/src/ct_testspec.erl | |
parent | 7922755473c7ddf5de118e38955c4ad977fe4564 (diff) | |
parent | 62ee1879ea5cc8c9662983c64630d7bb87a275a3 (diff) | |
download | otp-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/common_test/src/ct_testspec.erl')
-rw-r--r-- | lib/common_test/src/ct_testspec.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/common_test/src/ct_testspec.erl b/lib/common_test/src/ct_testspec.erl index c07ea323e6..10a9bdac67 100644 --- a/lib/common_test/src/ct_testspec.erl +++ b/lib/common_test/src/ct_testspec.erl @@ -1120,8 +1120,9 @@ should_be_added(Tag,Node,_Data,Spec) -> %% list terms *without* possible duplicates here Tag == logdir; Tag == logopts; Tag == basic_html; Tag == label; - Tag == auto_compile; Tag == stylesheet; - Tag == verbosity; Tag == silent_connections -> + Tag == auto_compile; Tag == abort_if_missing_suites; + Tag == stylesheet; Tag == verbosity; + Tag == silent_connections -> lists:keymember(ref2node(Node,Spec#testspec.nodes),1, read_field(Spec,Tag)) == false; %% for terms *with* possible duplicates @@ -1496,6 +1497,8 @@ valid_terms() -> {include,3}, {auto_compile,2}, {auto_compile,3}, + {abort_if_missing_suites,2}, + {abort_if_missing_suites,3}, {stylesheet,2}, {stylesheet,3}, {suites,3}, |