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.

Reply via email to