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

             Bug #: 13620
           Summary: lit.py prints incorrect threads count if number of
                    tests are less than number of default threads
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 9064
  --> http://llvm.org/bugs/attachment.cgi?id=9064
0001-lit-Fix-thread-count-in-test-output-header.patch

The incorrect threads count is printed if the number of tests are less than the
number of default threads.

This is an example. lit.py reports 4 threads but actually uses 3 threads.

$ ./utils/lit/lit.py test/Analysis/BranchProbabilityInfo/
-- Testing: 3 tests, 4 threads --
PASS: LLVM :: Analysis/BranchProbabilityInfo/basic.ll (1 of 3)
PASS: LLVM :: Analysis/BranchProbabilityInfo/noreturn.ll (2 of 3)
PASS: LLVM :: Analysis/BranchProbabilityInfo/loop.ll (3 of 3)
Testing Time: 0.02s
  Expected Passes    : 3

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

Reply via email to