From 48995cc06cb21ecd8ca9d0e69d9176a5a4ea2c0f Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 29 Aug 2008 20:32:50 +0000 Subject: [PATCH] Fix documentation. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1758 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/test.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bertos/cfg/test.h b/bertos/cfg/test.h index 37425026..048ff57b 100644 --- a/bertos/cfg/test.h +++ b/bertos/cfg/test.h @@ -49,15 +49,15 @@ * * Then, at the end of your module_test you can write: * \code - * #include TEST_ONLY(whatuneed.h) - * #include TEST_ONLY(whatuneed.c) - * #include TEST_ONLY(...) + * #if UNIT_TEST + * #include + * #include + * #include <...> * - * TEST_MAIN(module); + * TEST_MAIN(module); + * #endif * \endcode * - * The macro TEST_ONLY expand to nothing in non-TEST mode or to - * the specified filename if _TEST is defined. * Including directly into your module the file.c you need to * run the test allows you to build and run the test compiling * only one file. -- 2.25.1