all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 3436b6314dd77eac57ddb22136bc28887dbc0e6f 1445 bytes (raw)
name: packages/patches/ninja-tests.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
 
SubprocessTest.SetWithLots fails with:
  Raise [ulimit -n] well above 1025 to make this test go.
Skip it.

SubprocessTest.InterruptChild fails when using 'system*':
  *** Failure in src/subprocess_test.cc:83
  ExitInterrupted == subproc->Finish()
I can pass it by using 'system' instead of 'system*' when building locally,
but it still failed on Hydra.  Skip it.

--- ninja-1.5.3.orig/src/subprocess_test.cc	2015-01-15 10:34:28.859522176 +0800
+++ ninja-1.5.3/src/subprocess_test.cc	2015-01-15 10:37:52.969572075 +0800
@@ -72,6 +72,7 @@
 
 #ifndef _WIN32
 
+#if 0
 TEST_F(SubprocessTest, InterruptChild) {
   Subprocess* subproc = subprocs_.Add("kill -INT $$");
   ASSERT_NE((Subprocess *) 0, subproc);
@@ -82,6 +83,7 @@
 
   EXPECT_EQ(ExitInterrupted, subproc->Finish());
 }
+#endif
 
 TEST_F(SubprocessTest, InterruptParent) {
   Subprocess* subproc = subprocs_.Add("kill -INT $PPID ; sleep 1");
@@ -169,6 +171,7 @@
 // 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__) && !defined(_WIN32)
+#if 0
 TEST_F(SubprocessTest, SetWithLots) {
   // Arbitrary big number; needs to be over 1024 to confirm we're no longer
   // hostage to pselect.
@@ -196,6 +199,7 @@
   }
   ASSERT_EQ(kNumProcs, subprocs_.finished_.size());
 }
+#endif
 #endif  // !__APPLE__ && !_WIN32 
 
 // TODO: this test could work on Windows, just not sure how to simply

debug log:

solving 3436b6314dd77eac57ddb22136bc28887dbc0e6f ...
found 3436b6314dd77eac57ddb22136bc28887dbc0e6f in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.