Build: qualify Windows runtime and fix MinGW portability (refs #38)
This commit is contained in:
1 parent
1335fa86c3
commit
5d4589056a
8 files changed
+73
-27
No files matched your search
@@ -315,9 +315,11 @@ Void::Testing::Test io_mock_stop_completion_races_and_clock_timeout()
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef __linux__
|
||||
Void::Testing::Test io_epoll_socketpair_fragmented_half_close_and_fd_reuse()
|
||||
{
|
||||
#ifndef __linux__
|
||||
Void::Testing::skip("epoll backend is Linux-only");
|
||||
#else
|
||||
ManualExecutor exec;
|
||||
auto drv_res = Driver::create(
|
||||
exec,
|
||||
@@ -453,10 +455,14 @@ Void::Testing::Test io_epoll_socketpair_fragmented_half_close_and_fd_reuse()
|
||||
(reused->first.id().generation > a_orig_id.generation) ||
|
||||
(reused->second.id().generation > a_orig_id.generation);
|
||||
Void::Testing::expect(bumped);
|
||||
#endif
|
||||
}
|
||||
|
||||
Void::Testing::Test io_epoll_cross_thread_wake_poll_and_stop_tsan()
|
||||
{
|
||||
#ifndef __linux__
|
||||
Void::Testing::skip("epoll backend is Linux-only");
|
||||
#else
|
||||
ManualExecutor exec;
|
||||
auto drv_res = Driver::create(exec, BackendOptions{.preference = BackendPreference::epoll});
|
||||
Void::Testing::require(drv_res.has_value());
|
||||
@@ -505,5 +511,5 @@ Void::Testing::Test io_epoll_cross_thread_wake_poll_and_stop_tsan()
|
||||
driver.wake();
|
||||
poller.join();
|
||||
(void)b.valid();
|
||||
}
|
||||
#endif // __linux__
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user