[LLVMbugs] [Bug 15473] New: llvm-lit should respect the test file's path from the command line.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 7 21:04:51 PST 2013


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

            Bug ID: 15473
           Summary: llvm-lit should respect the test file's path from the
                    command line.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: atrick at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

/b/clean/Debug+Asserts/bin/llvm-lit
/s/fix/test/Transforms/SimplifyCFG/basictest.ll -v

******************** TEST 'LLVM :: Transforms/SimplifyCFG/basictest.ll' FAILED

/b/mirrorclean/Release+Asserts/bin/opt <
/s/mirror/test/Transforms/SimplifyCFG/basictest.ll -simplifycfg -S |
/b/mirror/Release+Asserts/bin/FileCheck
/s/clean/test/Transforms/SimplifyCFG/basictest.ll

Not only does lit silently pick up the Release+Asserts tool (PR15218)...

It also *silently* picks on a test file from a different location than the one
I explicitly provided. The only reason I see the problem with llvm-lit -v is
that I hacked the test to fail.

The horrible thing about this: unless your test fails, you have no idea that
lit is using the wrong version of the tool AND the wrong copy of the test.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130308/b4fe42dc/attachment.html>


More information about the llvm-bugs mailing list