[LLVMbugs] [Bug 10867] New: Multiple RUN: lines and || don't play well

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 5 19:57:01 PDT 2011


           Summary: Multiple RUN: lines and || don't play well
           Product: Test Suite
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: richard-llvm at metafoo.co.uk
                CC: llvmbugs at cs.uiuc.edu, daniel at zuster.org

This test fails:

  RUN: false
  RUN: true

This test passes:

  RUN: false
  RUN: true || true

This is because lit combines multiple RUN: lines together with " && " and
passes them to the shell, where && binds tighter than ||.

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