public inbox for buildbot@sourceware.org
 help / color / mirror / Atom feed
* patch: use "make -k check" broadly
@ 2024-03-06 17:14 Frank Ch. Eigler
  2024-03-06 22:21 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Ch. Eigler @ 2024-03-06 17:14 UTC (permalink / raw)
  To: buildbot

Hi -

The following diff gets the annobin and a few other package
make_check* steps to use "make -k check" rather than "make check", so
that early partial failures do not doom the entire run.  Many other
package builders already use the equivalent.

diff --git a/builder/master.cfg b/builder/master.cfg
index e4cd0802a051..d0b046f7af19 100644
--- a/builder/master.cfg
+++ b/builder/master.cfg
@@ -1194,26 +1194,26 @@ make_pdf_step = steps.Compile(
         command=["make", "pdf"],
         name="make pdf")
 make_check_step = steps.Test(
-        command=addOutputSync.withArgs(["make", "check",
+        command=addOutputSync.withArgs(["make", "-k", "check",
             util.Interpolate('-j%(prop:ncpus)s')]),
         name="make check", haltOnFailure=False, flunkOnFailure=True)
 # make check explicitly not using -j
 make_single_check_step = steps.Test(
-        command=["make", "check"],
+        command=["make", "-k", "check"],
         name="make check")
 make_single_test_suite_step = steps.Test(
-        command=["make", "check"],
+        command=["make", "-k" "check"],
         name="make check",
         logfiles={"test-suite.log": "tests/test-suite.log"})
 # Same as make_check_step but with tests/test-suite.log recorded
 make_check_test_suite_step = steps.Test(
-        command=addOutputSync.withArgs(["make", "check",
+        command=addOutputSync.withArgs(["make", "-k", "check",
             util.Interpolate('-j%(prop:ncpus)s')]),
         name="make check", haltOnFailure=False, flunkOnFailure=True,
         logfiles={"test-suite.log": "tests/test-suite.log"})
 # Same but with tests/testsuite.log (note, no dash)
 make_check_testsuite_step = steps.Test(
-        command=addOutputSync.withArgs(["make", "check",
+        command=addOutputSync.withArgs(["make", "-k", "check",
             util.Interpolate('-j%(prop:ncpus)s')]),
         name="make check", haltOnFailure=False, flunkOnFailure=True,
         logfiles={"testsuite.log": "tests/testsuite.log"})


- FChE

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-06 22:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-06 17:14 patch: use "make -k check" broadly Frank Ch. Eigler
2024-03-06 22:21 ` 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).