From f4e02e2361d8e4441baf6f322cc4915c49fe7d03 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Fri, 14 May 2021 11:36:02 -0400 Subject: [PATCH] Update #982, Only log failurs in id inequality check This cuts the number of logged test cases from nearly 80k to about 580. --- src/unit-test-coverage/shared/src/coveragetest-idmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unit-test-coverage/shared/src/coveragetest-idmap.c b/src/unit-test-coverage/shared/src/coveragetest-idmap.c index 83b09e5f8..78a829ad6 100644 --- a/src/unit-test-coverage/shared/src/coveragetest-idmap.c +++ b/src/unit-test-coverage/shared/src/coveragetest-idmap.c @@ -1112,9 +1112,9 @@ void Test_OS_ObjectIDInteger(void) UtAssert_True(OS_ObjectIdEqual(typesI[i], typesJ[j]), "%lu equals %lu", OS_ObjectIdToInteger(typesI[i]), OS_ObjectIdToInteger(typesJ[j])); } - else + else if (OS_ObjectIdEqual(typesI[i], typesJ[j])) { - UtAssert_True(!OS_ObjectIdEqual(typesI[i], typesJ[j]), "%lu does not equal %lu", + UtAssert_Failed("%lu does not equal %lu", OS_ObjectIdToInteger(typesI[i]), OS_ObjectIdToInteger(typesJ[j])); } }