mirror of
https://github.com/mirror/make.git
synced 2025-01-19 16:50:19 +08:00
* tests/scripts/features/output-sync: increase test timeout.
I'm getting random failures with a timeout of 10s; increase to 30s.
This commit is contained in:
parent
c2be1df880
commit
7241d136f4
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user