aboutsummaryrefslogtreecommitdiff
path: root/test/validation/errno/errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/validation/errno/errno.c')
-rw-r--r--test/validation/errno/errno.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/validation/errno/errno.c b/test/validation/errno/errno.c
index 6196164..d0e2128 100644
--- a/test/validation/errno/errno.c
+++ b/test/validation/errno/errno.c
@@ -31,5 +31,10 @@ odp_suiteinfo_t errno_suites[] = {
int errno_main(void)
{
- return odp_cunit_run(errno_suites);
+ int ret = odp_cunit_register(errno_suites);
+
+ if (ret == 0)
+ ret = odp_cunit_run();
+
+ return ret;
}