[LLVMbugs] [Bug 556] NEW: Make degjagnu select targets to test

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Apr 22 13:20:18 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=556

           Summary: Make degjagnu select targets to test
           Product: Test Suite
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DejaGNU
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com


With the advent of the --enable-targets= option to configure, it is possible to
generate an llc executable that doesn't include all the targets. The
Regression/Codegen directory contains sub-directories that are specific to each
target. The dejagnu setup needs to be enhanced to not test those targets that
have not been compiled. There's two ways to get the set of targets that are
available:

1. The makefile variable TARGETS_TO_BUILD contains the list of directory names
under lib/Target that are built.
2. Parse the output of llc --help for the items under the -march option which
should list only those targets built and linked into llc.

This feature is only needed for the Regression/Codegen directory. All others
pass the dejagnu tests even with a restricted set of targets compiled.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list