aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorJakub Hrozek <jakub.hrozek@posteo.se>2015-02-07 15:18:25 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-02-08 10:29:16 +0100
commit5ebe0830a1d025a148c25d474215dd6124524723 (patch)
treea793e2947a7cab1c156a5c654f00d9af9e663d3c /tests/CMakeLists.txt
parent5e8c5d90db2c55e203c11dbbec91c3e44bcb2023 (diff)
downloadcmocka-5ebe0830a1d025a148c25d474215dd6124524723.tar.gz
cmocka-5ebe0830a1d025a148c25d474215dd6124524723.tar.xz
cmocka-5ebe0830a1d025a148c25d474215dd6124524723.zip
tests: Add a test for failing group setup
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index b95c96a..2525fe9 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -8,6 +8,7 @@ include_directories(
set(CMOCKA_TESTS
test_alloc
+ test_group_setup_fail
test_fixtures
test_group_fixtures
test_assert_macros
@@ -45,6 +46,13 @@ set_tests_properties(
1
)
+set_tests_properties(
+ test_group_setup_fail
+ PROPERTIES
+ WILL_FAIL
+ 1
+)
+
add_test (test_setup_fail_1_failed test_setup_fail)
set_tests_properties(
test_setup_fail_1_failed