[LLVMbugs] [Bug 1826] New: llvm.exp mishandles & in RUN lines

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 26 17:57:59 PST 2007


           Summary: llvm.exp mishandles & in RUN lines
           Product: Test Suite
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DejaGNU
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: djg at cray.com
                CC: llvmbugs at cs.uiuc.edu

This one-line test:                                                             

; RUN: echo hi |& false                                                         

passes; it should fail.

The problem appears to be on this line in test/lib/llvm.exp:

      } elseif {[regexp {RUN: *([^&]+)(&&)?} $line match oneline suffix]} {

I just removed the last use of && from the llvm regression tests, so the
bug can probably be fixed by removing the special handling for &. However,
this uncovers many failures due to malformed RUN lines and failing tests.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list