[LLVMbugs] [Bug 13620] New: lit.py prints incorrect threads count if number of tests are less than number of default threads
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Aug 16 09:55:39 PDT 2012
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: unassignedbugs at nondot.org
ReportedBy: vlee at freedesktop.org
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list