aboutsummaryrefslogtreecommitdiff
path: root/tests/test_exception_handler.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-09-12 17:18:57 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-02-08 10:29:16 +0100
commit5e8c5d90db2c55e203c11dbbec91c3e44bcb2023 (patch)
tree81d89f4749a9e51a26912502317ffc32fac9190f /tests/test_exception_handler.c
parent05c73e1d3d7693b2ff0f1a5f8c39a6e32c7a2f38 (diff)
downloadcmocka-5e8c5d90db2c55e203c11dbbec91c3e44bcb2023.tar.gz
cmocka-5e8c5d90db2c55e203c11dbbec91c3e44bcb2023.tar.xz
cmocka-5e8c5d90db2c55e203c11dbbec91c3e44bcb2023.zip
tests: Use new cmocka test runner in our tests and examples
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/test_exception_handler.c')
-rw-r--r--tests/test_exception_handler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_exception_handler.c b/tests/test_exception_handler.c
index 5727d1e..94c6842 100644
--- a/tests/test_exception_handler.c
+++ b/tests/test_exception_handler.c
@@ -20,9 +20,9 @@ static void test_segfault_recovery(void **state)
}
int main(void) {
- const UnitTest tests[] = {
- unit_test(test_segfault_recovery),
+ const struct CMUnitTest tests[] = {
+ cmocka_unit_test(test_segfault_recovery),
};
- return run_tests(tests);
+ return cmocka_run_group_tests(tests, NULL, NULL);
}