aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_run.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2016-02-22 03:36:07 +0100
committerPeter Andersson <[email protected]>2016-02-29 20:13:08 +0100
commit1ef62d508aab9e6ae41ec327f4bd5422872f8e84 (patch)
treedf81e052640ad704bb90d921688bd0d9de946012 /lib/common_test/src/ct_run.erl
parent3c56cb7a4c3bcb8a089c0b83375aad46c010a9b7 (diff)
downloadotp-1ef62d508aab9e6ae41ec327f4bd5422872f8e84.tar.gz
otp-1ef62d508aab9e6ae41ec327f4bd5422872f8e84.tar.bz2
otp-1ef62d508aab9e6ae41ec327f4bd5422872f8e84.zip
Enable execution of multiple test cases or groups from a test spec term
Diffstat (limited to 'lib/common_test/src/ct_run.erl')
-rw-r--r--lib/common_test/src/ct_run.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/common_test/src/ct_run.erl b/lib/common_test/src/ct_run.erl
index 0b646ffd07..1c4267395b 100644
--- a/lib/common_test/src/ct_run.erl
+++ b/lib/common_test/src/ct_run.erl
@@ -2045,6 +2045,13 @@ final_tests1([{TestDir,Suite,GrsOrCs}|Tests], Final, Skip, Bad) when
({skipped,Group,TCs}) ->
[ct_groups:make_conf(TestDir, Suite,
Group, [skipped], TCs)];
+ ({skipped,TC}) ->
+ case lists:member(TC, GrsOrCs) of
+ true ->
+ [];
+ false ->
+ [TC]
+ end;
({GrSpec = {GroupName,_},TCs}) ->
Props = [{override,GrSpec}],
[ct_groups:make_conf(TestDir, Suite,