From 1ef62d508aab9e6ae41ec327f4bd5422872f8e84 Mon Sep 17 00:00:00 2001 From: Peter Andersson Date: Mon, 22 Feb 2016 03:36:07 +0100 Subject: Enable execution of multiple test cases or groups from a test spec term --- lib/common_test/src/ct_run.erl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/common_test/src/ct_run.erl') 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, -- cgit v1.2.3