aboutsummaryrefslogtreecommitdiffstats
path: root/test/testcond.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-18 12:58:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-18 12:58:35 +0000
commit4c2be4a8e9211f53e3b460de2ad5e9d3e4be70c8 (patch)
treeff9d69f7b2528008d5410895cf979cf158e918fb /test/testcond.c
parent6b6e5b95fb78af5f4c018c74b54b15a82b32d812 (diff)
downloadChibiOS-4c2be4a8e9211f53e3b460de2ad5e9d3e4be70c8.tar.gz
ChibiOS-4c2be4a8e9211f53e3b460de2ad5e9d3e4be70c8.tar.bz2
ChibiOS-4c2be4a8e9211f53e3b460de2ad5e9d3e4be70c8.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@781 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testcond.c')
-rw-r--r--test/testcond.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testcond.c b/test/testcond.c
index 2771b5202..692ec88d2 100644
--- a/test/testcond.c
+++ b/test/testcond.c
@@ -55,7 +55,7 @@ static void cond1_execute(void) {
threads[2] = chThdCreateStatic(wa[2], WA_SIZE, prio+3, thread1, "C");
threads[3] = chThdCreateStatic(wa[3], WA_SIZE, prio+4, thread1, "B");
threads[4] = chThdCreateStatic(wa[4], WA_SIZE, prio+5, thread1, "A");
- test_assert(prio == chThdGetPriority(), "priority return failure");
+ test_assert(prio == chThdGetPriority(), "#1"); /* Priority return failure.*/
chCondSignal(&c1);
chCondSignal(&c1);
chCondSignal(&c1);
@@ -86,7 +86,7 @@ static void cond2_execute(void) {
threads[2] = chThdCreateStatic(wa[2], WA_SIZE, prio+3, thread1, "C");
threads[3] = chThdCreateStatic(wa[3], WA_SIZE, prio+4, thread1, "B");
threads[4] = chThdCreateStatic(wa[4], WA_SIZE, prio+5, thread1, "A");
- test_assert(prio == chThdGetPriority(), "priority return failure");
+ test_assert(prio == chThdGetPriority(), "#1"); /* Priority return failure.*/
chCondBroadcast(&c1);
test_wait_threads();
test_assert_sequence("ABCDE");