[committed] Run two-files-low-mem-die-limit-0.sh with -j1
Tom de Vries
tdevries@suse.de
Fri Mar 26 13:40:59 GMT 2021
Hi,
On the buildbot we have for dwz-debian-arm64:
...
child process exited abnormally
FAIL: build/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
...
AFAIU, the problem is that the test-case is grepping like this:
...
egrep -q "Compressing (1|2)$" dwz.err
...
expecting the grep to fail on these messages:
...
Compressing 1 in low-mem mode
Compressing 2 in low-mem mode
...
But with -j 2 we can have the following interleaving of the messages:
...
Compressing 1 in low-mem modeCompressing 2
in low-mem mode
...
which makes the grep succeed.
Fix this by running the test with -j1.
Committed to trunk.
Thanks,
- Tom
Run two-files-low-mem-die-limit-0.sh with -j1
2021-03-26 Tom de Vries <tdevries@suse.de>
* testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh: Run dwz
with -j1.
---
testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh b/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
index 7f1e174..a3395a7 100644
--- a/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
+++ b/testsuite/dwz.tests/two-files-low-mem-die-limit-0.sh
@@ -5,6 +5,7 @@ $execs/dwz-for-test \
-l0 \
--devel-trace \
1 2 \
+ -j 1 \
2> dwz.err
if egrep -q "Compressing (1|2)$" dwz.err; then
More information about the Dwz
mailing list