Index: native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc |
diff --git a/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc b/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc |
index a16398540c86e81fd19d1cbc6c242aea4ca1b264..2eb474b0b7b5b5539f2fb90944a0762327ff6413 100644 |
--- a/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc |
+++ b/native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc |
@@ -2,6 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// The linux host build of nacl_io can't do wrapping of syscalls so all |
+// these tests must be disabled. |
+#if !defined(__linux__) |
+ |
#include <unistd.h> |
#include <string> |
@@ -714,3 +718,5 @@ TEST_F(KernelWrapTest, socketpair) { |
} |
#endif // PROVIDES_SOCKET_API |
+ |
+#endif // __linux__ |