Exclude POSIX tcp_io test scenarios from Windows compilation
This commit is contained in:
1 parent
a6441a9bf9
commit
8889092e66
1 file changed
+4
@@ -14,6 +14,8 @@
|
||||
#define MSG_NOSIGNAL 0
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
// POSIX-сценарии не компилируются на Windows, где main уже сообщает SKIP.
|
||||
static int tests_run = 0;
|
||||
static int tests_passed = 0;
|
||||
static int tests_failed = 0;
|
||||
@@ -648,6 +650,8 @@ static void test_fin_before_close(void) {
|
||||
TEST_PASS();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
#ifdef _WIN32
|
||||
printf("[SKIP] test_tcp_io — socketpair() not available on Windows\n");
|
||||
|
||||
Reference in new issue
Block a user