aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_testspec.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2014-03-05 14:44:15 +0100
committerPeter Andersson <[email protected]>2014-03-05 18:33:14 +0100
commit62ee1879ea5cc8c9662983c64630d7bb87a275a3 (patch)
treeca446e4c116bceed728a4f04e152e626627f7a25 /lib/common_test/src/ct_testspec.erl
parentc199bd2923e7d733e60beb9bd27b3852cbb2e699 (diff)
downloadotp-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/common_test/src/ct_testspec.erl')
-rw-r--r--lib/common_test/src/ct_testspec.erl7
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},