aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc-make/check_utils.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2020-11-05 22:03:02 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2020-11-05 22:03:02 +0100
commit3ff8703ca68709c116762a5feda378903e2419d9 (patch)
tree7a807d07a45766443cb492414eefb31703ef072c /tests/blogc-make/check_utils.c
parent68feeee28d2121cd2311650c5a21740bbad8074b (diff)
downloadblogc-3ff8703ca68709c116762a5feda378903e2419d9.tar.gz
blogc-3ff8703ca68709c116762a5feda378903e2419d9.tar.bz2
blogc-3ff8703ca68709c116762a5feda378903e2419d9.zip
tests: upgrade deprecated cmocka test runner
Diffstat (limited to 'tests/blogc-make/check_utils.c')
-rw-r--r--tests/blogc-make/check_utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/blogc-make/check_utils.c b/tests/blogc-make/check_utils.c
index 5b3614d..09d1580 100644
--- a/tests/blogc-make/check_utils.c
+++ b/tests/blogc-make/check_utils.c
@@ -460,9 +460,9 @@ test_generate_filename2(void **state)
int
main(void)
{
- const UnitTest tests[] = {
- unit_test(test_generate_filename),
- unit_test(test_generate_filename2),
+ const struct CMUnitTest tests[] = {
+ cmocka_unit_test(test_generate_filename),
+ cmocka_unit_test(test_generate_filename2),
};
- return run_tests(tests);
+ return cmocka_run_group_tests(tests, NULL, NULL);
}