summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJakub Czapiga <jacz@semihalf.com>2022-09-06 09:39:56 +0200
committerMartin L Roth <gaumless@gmail.com>2022-09-07 22:24:31 +0000
commitff968239df243fa430c43dcf860b0cbc4e9fbd8c (patch)
tree1eefe4479067fb273c71ae34e705f05108d19781 /tests
parentc762e231da33aeb4fbd53b15e429121d498f7b2a (diff)
downloadcoreboot-ff968239df243fa430c43dcf860b0cbc4e9fbd8c.tar.gz
coreboot-ff968239df243fa430c43dcf860b0cbc4e9fbd8c.tar.bz2
coreboot-ff968239df243fa430c43dcf860b0cbc4e9fbd8c.zip
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 <jacz@semihalf.com> Change-Id: Iead63cab0465f37b2da0c7b3ef256057e3a191a2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67371 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/commonlib/rational-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/commonlib/rational-test.c b/tests/commonlib/rational-test.c
index 4d6c215aad4b..a64997e3cd38 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);
}