diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-01 17:49:53 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-01 17:49:53 +0000 |
commit | a701fdfd1494a45cdbdaa382f0c88c5636aa64dd (patch) | |
tree | d613d1e417fad9ee753bb655e7194e49b3f45bdd /test/testmtx.c | |
parent | 69d06df416f4aa337de7183b6ed54ffe527ca0c0 (diff) | |
download | ChibiOS-a701fdfd1494a45cdbdaa382f0c88c5636aa64dd.tar.gz ChibiOS-a701fdfd1494a45cdbdaa382f0c88c5636aa64dd.tar.bz2 ChibiOS-a701fdfd1494a45cdbdaa382f0c88c5636aa64dd.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@489 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testmtx.c')
-rw-r--r-- | test/testmtx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testmtx.c b/test/testmtx.c index 6c1beea28..0bf69cbf7 100644 --- a/test/testmtx.c +++ b/test/testmtx.c @@ -58,8 +58,8 @@ static void mtx1_execute(void) { threads[3] = chThdCreateStatic(wa[3], STKSIZE, prio+4, thread1, "B");
threads[4] = chThdCreateStatic(wa[4], STKSIZE, prio+5, thread1, "A");
chMtxUnlock();
- test_assert(prio == chThdGetPriority(), "priority return failure");
test_wait_threads();
+ test_assert(prio == chThdGetPriority(), "priority return failure");
test_assert_sequence("ABCDE");
}
|