* [PATCH] gccrust_check_check_step user ! grep for FAIL or unexpected
@ 2023-08-18 15:33 Mark Wielaard
0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2023-08-18 15:33 UTC (permalink / raw)
To: buildbot; +Cc: Arsen Arsenović, Mark Wielaard
This should show the actual FAILs from the rust.sum file.
Previously only the number of unexpected tests were shown.
---
builder/master.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builder/master.cfg b/builder/master.cfg
index 5ed8fa5..abead8a 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -2329,8 +2329,8 @@ gccrust_check_bootstrap_step = steps.Compile(
# needed because make check-rust doesn't fail on unexpected failures
gccrust_check_check_step = steps.ShellCommand(
workdir='gccrs-build',
- command="grep unexpected gcc/testsuite/rust/rust.sum; test $? -eq 1",
- name="grep unexpected rust.sum",
+ command="! grep -E '^(FAIL|# of unexpected)'",
+ name="grep FAIL or unexpected rust.sum",
haltOnFailure=False, flunkOnFailure=True)
gccrust_bunsen_steps = bunsen_logfile_upload_cpio_steps(
--
2.41.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-18 15:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-18 15:33 [PATCH] gccrust_check_check_step user ! grep for FAIL or unexpected Mark Wielaard
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).