aboutsummaryrefslogtreecommitdiffstats
path: root/test/testsem.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testsem.c')
-rw-r--r--test/testsem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/testsem.c b/test/testsem.c
index 75f4f1fcb..009a5910f 100644
--- a/test/testsem.c
+++ b/test/testsem.c
@@ -51,7 +51,7 @@
* @brief Semaphores test header file
*/
-#if CH_USE_SEMAPHORES
+#if CH_USE_SEMAPHORES || defined(__DOXYGEN__)
#define ALLOWED_DELAY MS2ST(5)
@@ -190,7 +190,7 @@ ROMCONST struct testcase testsem2 = {
sem2_execute
};
-#if CH_USE_SEMSW
+#if CH_USE_SEMSW || defined(__DOXYGEN__)
/**
* @page test_sem_003 Atomic signal-wait test
*
@@ -292,10 +292,10 @@ ROMCONST struct testcase testsem4 = {
* @brief Test sequence for semaphores.
*/
ROMCONST struct testcase * ROMCONST patternsem[] = {
-#if CH_USE_SEMAPHORES
+#if CH_USE_SEMAPHORES || defined(__DOXYGEN__)
&testsem1,
&testsem2,
-#if CH_USE_SEMSW
+#if CH_USE_SEMSW || defined(__DOXYGEN__)
&testsem3,
#endif
&testsem4,