From: batt Date: Fri, 29 Aug 2008 20:32:50 +0000 (+0000) Subject: Fix documentation. X-Git-Tag: 2.0.0~176 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=48995cc06cb21ecd8ca9d0e69d9176a5a4ea2c0f;p=bertos.git Fix documentation. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1758 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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.