From ff968239df243fa430c43dcf860b0cbc4e9fbd8c Mon Sep 17 00:00:00 2001 From: Jakub Czapiga Date: Tue, 6 Sep 2022 09:39:56 +0200 Subject: tests/commonlib/rational-test: Use test group runner wrapper coreboot unit-tests framework requires tests to use cb_run_group_tests() instead of cmocka_run_group_tests() for Jenkins to work correctly. Wrapper ensures that each test has its own report file and does not overwrite results of other tests. Signed-off-by: Jakub Czapiga Change-Id: Iead63cab0465f37b2da0c7b3ef256057e3a191a2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67371 Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- tests/commonlib/rational-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/commonlib/rational-test.c b/tests/commonlib/rational-test.c index 4d6c215aad..a64997e3cd 100644 --- a/tests/commonlib/rational-test.c +++ b/tests/commonlib/rational-test.c @@ -52,6 +52,6 @@ int main(void) cmocka_unit_test(test_rational), }; - return cmocka_run_group_tests(tests, NULL, NULL); + return cb_run_group_tests(tests, NULL, NULL); } -- cgit v1.2.3