From ba66b5957511d019730a7537f08d85a9d0900fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E5=A4=B4=E4=BA=91?= Date: Sun, 13 Nov 2022 11:02:09 +0000 Subject: [PATCH] upd: [test] SUCCEED --- test/imp/test_imp_detect_plat.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/imp/test_imp_detect_plat.cpp b/test/imp/test_imp_detect_plat.cpp index 4ec8400..0870cc4 100644 --- a/test/imp/test_imp_detect_plat.cpp +++ b/test/imp/test_imp_detect_plat.cpp @@ -24,6 +24,7 @@ TEST(detect_plat, os) { #else ASSERT_TRUE(false); #endif + SUCCEED(); } TEST(detect_plat, cc) { @@ -34,6 +35,7 @@ TEST(detect_plat, cc) { #else ASSERT_TRUE(false); #endif + SUCCEED(); } TEST(detect_plat, cpp) { @@ -46,6 +48,7 @@ TEST(detect_plat, cpp) { #else ASSERT_TRUE(false); #endif + SUCCEED(); } TEST(detect_plat, byte_order) { @@ -73,10 +76,12 @@ TEST(detect_plat, fallthrough) { std::cout << "fallthrough default\n"; break; } + SUCCEED(); } TEST(detect_plat, unused) { LIBIMP_UNUSED int abc; + SUCCEED(); } TEST(detect_plat, likely_unlikely) { @@ -88,4 +93,5 @@ TEST(detect_plat, likely_unlikely) { } else { std::cout << "sizeof(int) < whatever\n"; } + SUCCEED(); } \ No newline at end of file