aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_run.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2011-12-02 01:31:38 +0100
committerPeter Andersson <[email protected]>2011-12-07 15:30:22 +0100
commit139524f226e9fde387dea203396d5fccf2bdca41 (patch)
tree4df805254f8d02793a37b351a44aa654af861e7e /lib/common_test/src/ct_run.erl
parent31a4eb179d32c5751d374f6c88432e328ebfcd70 (diff)
downloadotp-139524f226e9fde387dea203396d5fccf2bdca41.tar.gz
otp-139524f226e9fde387dea203396d5fccf2bdca41.tar.bz2
otp-139524f226e9fde387dea203396d5fccf2bdca41.zip
Implement support for overriding group properties with test specification
Diffstat (limited to 'lib/common_test/src/ct_run.erl')
-rw-r--r--lib/common_test/src/ct_run.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/common_test/src/ct_run.erl b/lib/common_test/src/ct_run.erl
index 0a9bb5af67..05b10bca32 100644
--- a/lib/common_test/src/ct_run.erl
+++ b/lib/common_test/src/ct_run.erl
@@ -1660,6 +1660,14 @@ final_tests1([{TestDir,Suite,GrsOrCs}|Tests], Final, Skip, Bad) when
({skipped,Group,TCs}) ->
[ct_framework:make_conf(TestDir, Suite,
Group, [skipped], TCs)];
+ ({GrSpec = {Group,_},TCs}) ->
+ Props = [{override,GrSpec}],
+ [ct_framework:make_conf(TestDir, Suite,
+ Group, Props, TCs)];
+ ({GrSpec = {Group,_,_},TCs}) ->
+ Props = [{override,GrSpec}],
+ [ct_framework:make_conf(TestDir, Suite,
+ Group, Props, TCs)];
({Group,TCs}) ->
[ct_framework:make_conf(TestDir, Suite,
Group, [], TCs)];