From: Tom de Vries <tdevries@suse.de>
To: dwz@sourceware.org, jakub@redhat.com, mark@klomp.org
Subject: [committed] Run two-files-low-mem-die-limit-0.sh with -j1
Date: Fri, 26 Mar 2021 14:40:59 +0100 [thread overview]
Message-ID: <20210326134058.GA4137@delia> (raw)
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
reply other threads:[~2021-03-26 13:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210326134058.GA4137@delia \
--to=tdevries@suse.de \
--cc=dwz@sourceware.org \
--cc=jakub@redhat.com \
--cc=mark@klomp.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).