From 56621882f9b58cb14ee3ba9cf377888b3e041277 Mon Sep 17 00:00:00 2001 From: pikastech Date: Thu, 23 Jun 2022 18:01:18 +0800 Subject: [PATCH] fix STNTEX LEVEL in test --- port/linux/test/stddata-test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/port/linux/test/stddata-test.cpp b/port/linux/test/stddata-test.cpp index d8dfc640c..252c198c7 100644 --- a/port/linux/test/stddata-test.cpp +++ b/port/linux/test/stddata-test.cpp @@ -1,5 +1,7 @@ #include "test_common.h" + +#if PIKA_SYNTEX_ITEM_SLICE_ENABLE TEST(stddata, test1) { /* init */ pikaMemInfo.heapUsedMax = 0; @@ -20,3 +22,4 @@ TEST(stddata, test1) { obj_deinit(pikaMain); EXPECT_EQ(pikaMemNow(), 0); } +#endif