public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/64752] New: Eliminate use of "file" from the jit testsuite
@ 2015-01-23 14:46 dmalcolm at gcc dot gnu.org
  2015-01-23 15:33 ` [Bug jit/64752] " dmalcolm at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2015-01-23 14:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64752
           Summary: Eliminate use of "file" from the jit testsuite
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: dmalcolm at gcc dot gnu.org

Currently jit.exp invokes "file" as a smoketest for the output of
gcc_context_compile_to_file, to try to verify that assembler/objects/shared
library/executables were emitted, trying to match the output of "file" against
regexes.

Some hosts won't have "file" installed, and the output of "file" seems to vary
enough from host to host that this test can never be made sane.

So we should drop this use of "file", in favor of sanity-checking the output
more directly: e.g. trying to run the assembler on the .s file, etc.


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

end of thread, other threads:[~2015-02-06 23:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-23 14:46 [Bug jit/64752] New: Eliminate use of "file" from the jit testsuite dmalcolm at gcc dot gnu.org
2015-01-23 15:33 ` [Bug jit/64752] " dmalcolm at gcc dot gnu.org
2015-02-06 23:20 ` dmalcolm at gcc dot gnu.org
2015-02-06 23:22 ` dmalcolm at gcc dot gnu.org

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