public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/111390] New: 'make check-compile' target is not useful
@ 2023-09-12 16:25 redi at gcc dot gnu.org
  2023-09-12 19:06 ` [Bug libstdc++/111390] " egallager at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2023-09-12 16:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111390
           Summary: 'make check-compile' target is not useful
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

This makefile target does compilation-only testing, to check that tests can be
built. But there's no parallelism, so it takes ages. Worse, it ignores dejagnu
directives so just runs everything with a default set of options, including the
implicit -std=gnu++17

This means that all C++20 and later tests fail. And any XFAIL tests with
dg-error directives "fail" noisily.

I'm not sure it is useful to keep it.

If we want to do compilation-only testing, I think it would be better to modify
the dejagnu procs so that "do-do run" tests are treated as "dg-do compile".

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

end of thread, other threads:[~2023-09-13 14:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-12 16:25 [Bug libstdc++/111390] New: 'make check-compile' target is not useful redi at gcc dot gnu.org
2023-09-12 19:06 ` [Bug libstdc++/111390] " egallager at gcc dot gnu.org
2023-09-12 20:10 ` redi at gcc dot gnu.org
2023-09-13  0:13 ` egallager at gcc dot gnu.org
2023-09-13  0:29 ` redi at gcc dot gnu.org
2023-09-13  7:02 ` rguenth at gcc dot gnu.org
2023-09-13  7:18 ` [Bug libstdc++/111390] libstdc++-v3/scripts/check_compile script " redi at gcc dot gnu.org
2023-09-13 14:31 ` joseph at codesourcery dot com

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).