public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [committed] Run two-files-low-mem-die-limit-0.sh with -j1
@ 2021-03-26 13:40 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2021-03-26 13:40 UTC (permalink / raw)
  To: dwz, jakub, mark

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-26 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 13:40 [committed] Run two-files-low-mem-die-limit-0.sh with -j1 Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).