From 0873929b10edf3d2e3ce9e8152bd2cfb22955674 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 13 Mar 2009 20:11:53 +0000 Subject: Fixed a test case. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@842 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/testsem.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/testsem.c b/test/testsem.c index e954871d5..cffe8bb69 100644 --- a/test/testsem.c +++ b/test/testsem.c @@ -27,6 +27,7 @@ static Semaphore sem1; +#if !CH_USE_SEMAPHORES_PRIORITY static char *sem1_gettest(void) { return "Semaphores, FIFO enqueuing test"; @@ -66,6 +67,7 @@ const struct testcase testsem1 = { NULL, sem1_execute }; +#endif /* CH_USE_SEMAPHORES_PRIORITY */ #if CH_USE_SEMAPHORES_TIMEOUT static char *sem2_gettest(void) { @@ -112,7 +114,9 @@ const struct testcase testsem2 = { */ const struct testcase * const patternsem[] = { #if CH_USE_SEMAPHORES +#if !CH_USE_SEMAPHORES_PRIORITY &testsem1, +#endif #if CH_USE_SEMAPHORES_TIMEOUT &testsem2, #endif -- cgit v1.2.3