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)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cpeyer, Assigned: cpeyer)

Details

Attachments

(1 file)

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: nobody → cpeyer
Status: NEW → ASSIGNED
Attachment #463700 - Flags: review?(jsudduth)
Attachment #463700 - Flags: review?(jsudduth) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: