summaryrefslogtreecommitdiff
path: root/components/utilities
diff options
context:
space:
mode:
authorliruncong <[email protected]>2021-02-09 23:25:46 +0800
committerliruncong <[email protected]>2021-02-09 23:25:46 +0800
commit0208fc5546a76ea4494e26000a10b7614af79793 (patch)
tree8b5f468068ffb33efe0c7477328bf9366de583e7 /components/utilities
parent12d5ca60c59e485234f138721caef60d93c48ecd (diff)
[components]SECTION=>RT_SECTION(与catch2中SECTION冲突)
Diffstat (limited to 'components/utilities')
-rw-r--r--components/utilities/utest/utest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/utilities/utest/utest.h b/components/utilities/utest/utest.h
index 8d83fa3184..e2d72a931d 100644
--- a/components/utilities/utest/utest.h
+++ b/components/utilities/utest/utest.h
@@ -138,7 +138,7 @@ utest_t utest_handle_get(void);
*/
#define UTEST_TC_EXPORT(testcase, name, init, cleanup, timeout) \
RT_USED static const struct utest_tc_export _utest_testcase \
- SECTION("UtestTcTab") = \
+ RT_SECTION("UtestTcTab") = \
{ \
name, \
timeout, \