diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-16 16:12:33 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-06-16 16:12:33 +0000 |
commit | 2e4ba09bb54f415e7f8fd66f4ccddbf421612820 (patch) | |
tree | bcb3dfba371a3c6a3957285650ae694ea057307c /test/testmtx.c | |
parent | 0d96f5c78e54d267ef1ca230fe20af1ca090e1d6 (diff) | |
download | ChibiOS-2e4ba09bb54f415e7f8fd66f4ccddbf421612820.tar.gz ChibiOS-2e4ba09bb54f415e7f8fd66f4ccddbf421612820.tar.bz2 ChibiOS-2e4ba09bb54f415e7f8fd66f4ccddbf421612820.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5860 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testmtx.c')
-rw-r--r-- | test/testmtx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testmtx.c b/test/testmtx.c index f83a9744a..52b5cebd4 100644 --- a/test/testmtx.c +++ b/test/testmtx.c @@ -446,13 +446,13 @@ static void mtx5_execute(void) { chMtxUnlockS();
chSysUnlock();
- test_assert(3, isempty(&m1.m_queue), "queue not empty");
+ test_assert(3, queue_isempty(&m1.m_queue), "queue not empty");
test_assert(4, m1.m_owner == NULL, "still owned");
test_assert(5, chThdGetPriority() == prio, "wrong priority level");
chMtxLock(&m1);
chMtxUnlockAll();
- test_assert(6, isempty(&m1.m_queue), "queue not empty");
+ test_assert(6, queue_isempty(&m1.m_queue), "queue not empty");
test_assert(7, m1.m_owner == NULL, "still owned");
}
|