summaryrefslogtreecommitdiffstats
path: root/src/subprocess_test.cc
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2013-07-01 18:11:05 (GMT)
committerDavid Hill <dhill@conformal.com>2013-07-01 18:11:05 (GMT)
commiteb398301f6a1272c5675835c6ef4f6eecf90433d (patch)
treeb804db3ec8f6982944d0a9f0a6821a9f41465c0f /src/subprocess_test.cc
parent43cc6c197878311e78cbb912306ab012b48b5ab9 (diff)
downloadNinja-eb398301f6a1272c5675835c6ef4f6eecf90433d.zip
Ninja-eb398301f6a1272c5675835c6ef4f6eecf90433d.tar.gz
Ninja-eb398301f6a1272c5675835c6ef4f6eecf90433d.tar.bz2
Exclude Windows as well
Diffstat (limited to 'src/subprocess_test.cc')
-rw-r--r--src/subprocess_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subprocess_test.cc b/src/subprocess_test.cc
index f0e193b..9f8dcea 100644
--- a/src/subprocess_test.cc
+++ b/src/subprocess_test.cc
@@ -152,7 +152,7 @@ TEST_F(SubprocessTest, SetWithMulti) {
// OS X's process limit is less than 1025 by default
// (|sysctl kern.maxprocperuid| is 709 on 10.7 and 10.8 and less prior to that).
-#if !defined(__APPLE__)
+#if !defined(__APPLE__) && !defined(_WIN32)
TEST_F(SubprocessTest, SetWithLots) {
// Arbitrary big number; needs to be over 1024 to confirm we're no longer
// hostage to pselect.
@@ -179,7 +179,7 @@ TEST_F(SubprocessTest, SetWithLots) {
}
ASSERT_EQ(kNumProcs, subprocs_.finished_.size());
}
-#endif // linux || __OpenBSD__ || __Bitrig__
+#endif // !__APPLE__ && !_WIN32
// TODO: this test could work on Windows, just not sure how to simply
// read stdin.