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 b18dcc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/unit-test-coverage/shared/src/coveragetest-idmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1112,10 +1112,10 @@ 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",
OS_ObjectIdToInteger(typesI[i]), OS_ObjectIdToInteger(typesJ[j]));
UtAssert_Failed("%lu does not equal %lu", OS_ObjectIdToInteger(typesI[i]),
OS_ObjectIdToInteger(typesJ[j]));
}
}
}
Expand Down

0 comments on commit b18dcc6

Please sign in to comment.