[LLVMbugs] [Bug 1337] NEW: Remove duplicate (explicit) checks in test cases.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Apr 16 00:03:26 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1337

           Summary: Remove duplicate (explicit) checks in test cases.
           Product: Test Suite
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DejaGNU
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rspencer at x10sys.com


Before the conversion to the Tcl exec based test harness, many tests were
duplicating the script to ensure that it ran correctly before actually
processing its results. For example:

; RUN: llvm-as < %s | opt -blah | llvm-dis -o /dev/null -f &&
; RUN: llvm-as < %s | opt -blah | llvm-dis -o - | not grep bitcast

This is no longer necessary as each component in each pipeline is now checked by
Tcl. Additionally the test harness enforces success of each line of RUN commands
as if there was an && at the end of each line. Consequently, the duplication of
commands by these test cases is merely a waste of CPU time. They should be removed.



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