diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2022-09-06 09:39:56 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-09-07 22:24:31 +0000 |
commit | ff968239df243fa430c43dcf860b0cbc4e9fbd8c (patch) | |
tree | 1eefe4479067fb273c71ae34e705f05108d19781 | |
parent | c762e231da33aeb4fbd53b15e429121d498f7b2a (diff) |
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>
-rw-r--r-- | tests/commonlib/rational-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |