aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_surefire_SUITE_data/skip_one_suite.spec
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-01-09 15:41:20 +0100
committerSiri Hansen <[email protected]>2017-02-21 14:30:02 +0100
commitb3f2b1d0932f3087fb57c5be30c29c08f4f6244b (patch)
treef57fbd4dd2f3c8699c5636c028a15be5cc4abd88 /lib/common_test/test/ct_surefire_SUITE_data/skip_one_suite.spec
parent1a5ba828bf7dda17bdd874b837a3dc8898952d6c (diff)
downloadotp-b3f2b1d0932f3087fb57c5be30c29c08f4f6244b.tar.gz
otp-b3f2b1d0932f3087fb57c5be30c29c08f4f6244b.tar.bz2
otp-b3f2b1d0932f3087fb57c5be30c29c08f4f6244b.zip
[cth_surefire] Handle skips from test spec
When a test case is skipped from the test spec, there is no call to the common_test hook functions 'pre_init_per_testcase' and 'post_end_per_testcase'. This causes cth_surefire to erroneously mark the previous test case as skipped in the xml report. The actually skipped test case is not present in the xml report at all. This is now corrected. OTP-14129
Diffstat (limited to 'lib/common_test/test/ct_surefire_SUITE_data/skip_one_suite.spec')
-rw-r--r--lib/common_test/test/ct_surefire_SUITE_data/skip_one_suite.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common_test/test/ct_surefire_SUITE_data/skip_one_suite.spec b/lib/common_test/test/ct_surefire_SUITE_data/skip_one_suite.spec
new file mode 100644
index 0000000000..57966328ab
--- /dev/null
+++ b/lib/common_test/test/ct_surefire_SUITE_data/skip_one_suite.spec
@@ -0,0 +1,2 @@
+{suites,".",[skip_all_surefire_SUITE]}.
+{skip_suites,".",skip_all_surefire_SUITE,"skipped in spec"}.