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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to