Closed
Bug 585202
Opened 15 years ago
Closed 15 years ago
performance runtests.py: running a test with no results will cause an exception
Categories
(Tamarin Graveyard :: Tools, defect)
Tamarin Graveyard
Tools
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: cpeyer, Assigned: cpeyer)
Details
Attachments
(1 file)
2.22 KB,
patch
|
jsudduth
:
review+
|
Details | Diff | Splinter Review |
If a test is run that compiles but does not output any results, the harness will throw:
Runtest Abnormal Exit
Traceback (most recent call last):
File "./runtests.py", line 944, in <module>
runtest = PerformanceRuntest()
File "./runtests.py", line 133, in __init__
RuntestBase.__init__(self)
File "../util/runtestBase.py", line 187, in __init__
self.run()
File "./runtests.py", line 152, in run
self.runTests(self.tests)
File "./runtests.py", line 419, in runTests
o = self.runTest((t, testnum))
File "./runtests.py", line 714, in runTest
if len(resultsDict1[resultsDict1.keys()[0]]) != self.iterations:
IndexError: list index out of range
This is due to the fact that resultsDict1 will be empty and so the keys list will be an empty list.
Assignee | ||
Comment 1•15 years ago
|
||
Updated•15 years ago
|
Attachment #463700 -
Flags: review?(jsudduth) → review+
Assignee | ||
Comment 2•15 years ago
|
||
Pushed to redux:
http://hg.mozilla.org/tamarin-redux/rev/b8ff544aee67
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•