https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112396

            Bug ID: 112396
           Summary: "make check" should not error out, even when some
                    checks failed
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libbacktrace
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org
                CC: ian at gcc dot gnu.org
  Target Milestone: ---

The behaviour in GCC is pretty consistent: parts of the testsuite do not error
out in make, even when individual tests fail.

The one exception is libbacktrace, which does error out when one or more test
failed:

make[4]: *** [test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[2]: Target `check' not remade because of errors.
make[1]: *** [check-target-libbacktrace] Error 2

This means that if, like me, you forgot to run "make check" with -k, you get
stopped in the middle of testing. To be nice to users, and for consistency, it
would be nice if this behaviour was changed.

Reply via email to