[Piglit] [Bug 99649] When testlist contains non-existing (removed) test, piglit excepts out

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 3 09:16:35 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99649

--- Comment #2 from Tomi Sarvela <tomi.p.sarvela at intel.com> ---
The exception is (as far as I see) before the 'tests' is written out. If you
want to see the deterministic, *correct* order the tests have (or would have
been without crash) run, the incomplete results have to be read in anyway.

So I'm thinking that test regex and testlist are just hints what user would
want to run, and thus, user input that might be incorrect. Correct list is in
testfiles or result.json. It's always so with regex, why not use same idea with
testlist.

On this note: I have also patches to keep the correctness of 'tests' order in
testrun. These change 'tests' dict to ordereddict on couple of places, adds
sorting to os.listdir() and changes internal copying from dict comprehension to
OrderedDict comprehension.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170203/5860e64b/attachment.html>


More information about the Piglit mailing list