Skip to content

Commit

Permalink
Update nasa#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 authored and pepepr08 committed Jun 9, 2021
1 parent 001ba68 commit de2564f
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 @@ -1135,10 +1135,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 de2564f

Please sign in to comment.