mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2025-02-07 13:03:08 +00: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
1 changed files with 6 additions and 4 deletions
|
@ -53,6 +53,8 @@ sub output_sync_set {
|
||||||
|
|
||||||
@syncfiles = qw(mksync.foo mksync.foo_start mksync.bar mksync.bar_start);
|
@syncfiles = qw(mksync.foo mksync.foo_start mksync.bar mksync.bar_start);
|
||||||
|
|
||||||
|
$tmout = 30;
|
||||||
|
|
||||||
output_sync_clean();
|
output_sync_clean();
|
||||||
mkdir('foo', 0777);
|
mkdir('foo', 0777);
|
||||||
mkdir('bar', 0777);
|
mkdir('bar', 0777);
|
||||||
|
@ -140,7 +142,7 @@ bar: start
|
||||||
bar: end
|
bar: end
|
||||||
baz: start
|
baz: start
|
||||||
baz: end
|
baz: end
|
||||||
#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, 10);
|
#MAKE#[1]: Leaving directory '#PWD#/bar'\n", 0, $tmout);
|
||||||
|
|
||||||
# Test per-target synchronization.
|
# Test per-target synchronization.
|
||||||
# Note we have to sleep again here after starting the foo makefile before
|
# 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'
|
#MAKE#[1]: Entering directory '#PWD#/bar'
|
||||||
baz: start
|
baz: start
|
||||||
baz: end
|
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
|
# Rerun but this time suppress the directory tracking
|
||||||
unlink(@syncfiles);
|
unlink(@syncfiles);
|
||||||
|
@ -183,7 +185,7 @@ bar: end
|
||||||
foo: start
|
foo: start
|
||||||
foo: end
|
foo: end
|
||||||
baz: start
|
baz: start
|
||||||
baz: end\n", 0, 10);
|
baz: end\n", 0, $tmout);
|
||||||
|
|
||||||
# Test that messages from make itself are enclosed with
|
# Test that messages from make itself are enclosed with
|
||||||
# "Entering/Leaving directory" messages.
|
# "Entering/Leaving directory" messages.
|
||||||
|
@ -236,7 +238,7 @@ bar: end
|
||||||
#MAKE#[1]: Leaving directory '#PWD#/bar'
|
#MAKE#[1]: Leaving directory '#PWD#/bar'
|
||||||
#MAKE#[1]: Entering directory '#PWD#/foo'
|
#MAKE#[1]: Entering directory '#PWD#/foo'
|
||||||
foo: end
|
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.
|
# Remove temporary directories and contents.
|
||||||
|
|
Loading…
Reference in a new issue