aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorArnaud Gelas <arnaud.gelas@sensefly.com>2019-12-09 14:07:23 +0100
committerAndreas Schneider <asn@cryptomilk.org>2020-02-06 08:41:55 +0100
commit946c15126942c7ff5da92fd20bd82765828a505b (patch)
tree5d5d23f334c9ad36a09e8af6c91b6a31676be85e /tests/CMakeLists.txt
parent1cc9cde3448cdd2e000886a26acf1caac2db7cf1 (diff)
downloadcmocka-946c15126942c7ff5da92fd20bd82765828a505b.tar.gz
cmocka-946c15126942c7ff5da92fd20bd82765828a505b.tar.xz
cmocka-946c15126942c7ff5da92fd20bd82765828a505b.zip
Add group_name in cmprintf_group_finish_standard.
When using cmocka_run_group_tests_name, group_name was not printed; which made it complicated to know when one failure occurs.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 7487a9c..e016d6a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -67,7 +67,7 @@ set_tests_properties(
test_assert_macros_fail
PROPERTIES
PASS_REGULAR_EXPRESSION
- "\\[ FAILED \\] 1 test"
+ "\\[ FAILED \\] tests: 1 test"
)
# test_ordering ensure proper failures
@@ -75,7 +75,7 @@ set_tests_properties(
test_ordering_fail
PROPERTIES
PASS_REGULAR_EXPRESSION
- "\\[ FAILED \\] 7 test"
+ "\\[ FAILED \\] tests: 7 test"
)
# test_returns_fail ensure proper failures
@@ -83,7 +83,7 @@ set_tests_properties(
test_returns_fail
PROPERTIES
PASS_REGULAR_EXPRESSION
- "\\[ FAILED \\] 3 test"
+ "\\[ FAILED \\] alloc_tests: 3 test"
)
# test_exception_handler