diff options
Diffstat (limited to 'test/testsem.c')
-rw-r--r-- | test/testsem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testsem.c b/test/testsem.c index c582d9531..35e37d965 100644 --- a/test/testsem.c +++ b/test/testsem.c @@ -86,8 +86,8 @@ static void sem2_execute(void) { for (i = 0; i < 5; i++) {
test_emit_token('A' + i);
chSemWaitTimeout(&sem1, MS2ST(500));
- test_assert(isempty(&sem1.s_queue), "queue not empty");
- test_assert(&sem1.s_cnt != 0, "counter not zero");
+ test_assert(isempty(&sem1.s_queue), "#1"); /* Queue not empty */
+ test_assert(&sem1.s_cnt != 0, "#2"); /* Counter not zero */
}
test_assert_sequence("ABCDE");
test_assert_time_window(target_time, target_time + ALLOWED_DELAY);
|