diff options
Diffstat (limited to 'lib/common_test/test/ct_surefire_SUITE_data/surefire_SUITE.erl')
-rw-r--r-- | lib/common_test/test/ct_surefire_SUITE_data/surefire_SUITE.erl | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/common_test/test/ct_surefire_SUITE_data/surefire_SUITE.erl b/lib/common_test/test/ct_surefire_SUITE_data/surefire_SUITE.erl index 4644355ca9..eb5f5a4217 100644 --- a/lib/common_test/test/ct_surefire_SUITE_data/surefire_SUITE.erl +++ b/lib/common_test/test/ct_surefire_SUITE_data/surefire_SUITE.erl @@ -1,7 +1,7 @@ %%-------------------------------------------------------------------- %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2012-2021. All Rights Reserved. +%% Copyright Ericsson AB 2012-2022. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -44,6 +44,7 @@ groups() -> testcases() -> [tc_ok, tc_fail, + tc_badmatch, tc_skip, tc_autoskip_require]. @@ -76,12 +77,17 @@ break(_Config) -> test_server:break(""), ok. -tc_ok(_Config) -> - ok. +tc_ok(Config) when is_list(Config) -> + ok; +tc_ok(_) -> + ct:fail("This should never fail"). tc_fail(_Config) -> ct:fail("this test should fail"). +tc_badmatch(_Config) -> + ok = nok. + tc_skip(_Config) -> {skip,"this test is skipped"}. |