We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c45cb4 commit 48c42bfCopy full SHA for 48c42bf
1 file changed
test/test.cc
@@ -8471,6 +8471,8 @@ TEST(ClientInThreadTest, Issue2068) {
8471
}
8472
8473
8474
+#if defined(__SANITIZE_ADDRESS__) || \
8475
+ (defined(__has_feature) && __has_feature(address_sanitizer))
8476
Server *issue2097_svr = nullptr;
8477
std::thread *issue2097_svr_thread = nullptr;
8478
@@ -8510,7 +8512,8 @@ TEST(ExitTimeDtorsTest, Issue2097) {
8510
8512
#ifdef CPPHTTPLIB_NO_EXIT_TIME_DESTRUCTORS
8511
8513
::testing::ExitedWithCode(42),
8514
#else
- ::testing::KilledBySignal(SIGSEGV),
8515
+ ::testing::ExitedWithCode(1),
8516
#endif
8517
"");
-}
8518
+}
8519
+#endif
0 commit comments