Skip to content

Commit

Permalink
Update #982, Only log failures in id inequality check
Browse files Browse the repository at this point in the history
This cuts the number of logged test cases from nearly 80k to about 580.
  • Loading branch information
jphickey committed May 14, 2021
1 parent 3ec2c2e commit b9be5b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unit-test-coverage/shared/src/coveragetest-idmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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]));
}
}
Expand Down

0 comments on commit b9be5b0

Please sign in to comment.