mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
upd: [test] SUCCEED
This commit is contained in:
parent
6bd967323d
commit
ba66b59575
@ -24,6 +24,7 @@ TEST(detect_plat, os) {
|
|||||||
#else
|
#else
|
||||||
ASSERT_TRUE(false);
|
ASSERT_TRUE(false);
|
||||||
#endif
|
#endif
|
||||||
|
SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(detect_plat, cc) {
|
TEST(detect_plat, cc) {
|
||||||
@ -34,6 +35,7 @@ TEST(detect_plat, cc) {
|
|||||||
#else
|
#else
|
||||||
ASSERT_TRUE(false);
|
ASSERT_TRUE(false);
|
||||||
#endif
|
#endif
|
||||||
|
SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(detect_plat, cpp) {
|
TEST(detect_plat, cpp) {
|
||||||
@ -46,6 +48,7 @@ TEST(detect_plat, cpp) {
|
|||||||
#else
|
#else
|
||||||
ASSERT_TRUE(false);
|
ASSERT_TRUE(false);
|
||||||
#endif
|
#endif
|
||||||
|
SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(detect_plat, byte_order) {
|
TEST(detect_plat, byte_order) {
|
||||||
@ -73,10 +76,12 @@ TEST(detect_plat, fallthrough) {
|
|||||||
std::cout << "fallthrough default\n";
|
std::cout << "fallthrough default\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(detect_plat, unused) {
|
TEST(detect_plat, unused) {
|
||||||
LIBIMP_UNUSED int abc;
|
LIBIMP_UNUSED int abc;
|
||||||
|
SUCCEED();
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(detect_plat, likely_unlikely) {
|
TEST(detect_plat, likely_unlikely) {
|
||||||
@ -88,4 +93,5 @@ TEST(detect_plat, likely_unlikely) {
|
|||||||
} else {
|
} else {
|
||||||
std::cout << "sizeof(int) < whatever\n";
|
std::cout << "sizeof(int) < whatever\n";
|
||||||
}
|
}
|
||||||
|
SUCCEED();
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user