Created attachment 646420 [details] [diff] [review] v0 This is a reorganization that I've been meaning to do for awhile. Eventually I'd like to color the progressbar in realtime to track test failures and this will make that task much easier.
Comment on attachment 646420 [details] [diff] [review] v0 $ jtm [ 0| 0| 0|Traceback (most recent call last): File "../tests/jstests.py", line 267, in <module> sys.exit(main()) File "../tests/jstests.py", line 256, in main results.push(NullTestOutput(t)) File "d:\sources\mozilla-inbound\js\src\tests\lib\results.py", line 150, in push self.pb.update(self.n, self.counts) File "d:\sources\mozilla-inbound\js\src\tests\lib\progressbar.py", line 43, in update Terminal.set_color(layout['color']) File "d:\sources\mozilla-inbound\js\src\tests\lib\terminal_win.py", line 100, in set_color color_code |= Terminal.COLOR[color] KeyError: 'gray' The 0s do appear in different colors, though.
Created attachment 646427 [details] [diff] [review] v1: fix bustage Thanks for testing! The new version fixes the two bustages.