]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* tests/scripts/features/output-sync: increase test timeout. 4.1.90
authorPaul Smith <psmith@gnu.org>
Sat, 23 Apr 2016 15:21:36 +0000 (11:21 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 23 Apr 2016 15:21:36 +0000 (11:21 -0400)
I'm getting random failures with a timeout of 10s; increase to 30s.

tests/scripts/features/output-sync

index 7139e002507dae9687e32ed56f2acb683f71862e..7237e65bfd6ef76defae29ec5664333061a2fcb1 100644 (file)
@@ -53,6 +53,8 @@ sub output_sync_set {
 
 @syncfiles = qw(mksync.foo mksync.foo_start mksync.bar mksync.bar_start);
 
+$tmout = 30;
+
 output_sync_clean();
 mkdir('foo', 0777);
 mkdir('bar', 0777);
@@ -140,7 +142,7 @@ bar: start
 bar: end
 baz: start
 baz: end
-#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, 10);
+#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, $tmout);
 
 # Test per-target synchronization.
 # Note we have to sleep again here after starting the foo makefile before
@@ -171,7 +173,7 @@ foo: end
 #MAKE#[1]: Entering directory '#PWD#/bar'
 baz: start
 baz: end
-#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, 10);
+#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, $tmout);
 
 # Rerun but this time suppress the directory tracking
 unlink(@syncfiles);
@@ -183,7 +185,7 @@ bar: end
 foo: start
 foo: end
 baz: start
-baz: end\n", 0, 10);
+baz: end\n", 0, $tmout);
 
 # Test that messages from make itself are enclosed with
 # "Entering/Leaving directory" messages.
@@ -236,7 +238,7 @@ bar: end
 #MAKE#[1]: Leaving directory '#PWD#/bar'
 #MAKE#[1]: Entering directory '#PWD#/foo'
 foo: end
-#MAKE#[1]: Leaving directory '#PWD#/foo'\n", 0, 10);
+#MAKE#[1]: Leaving directory '#PWD#/foo'\n", 0, $tmout);
 
 
 # Remove temporary directories and contents.