diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2012-02-16 17:32:40 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2012-03-02 15:45:30 -0800 |
commit | e627eb887b14de448349a89e67ceba813904df74 (patch) | |
tree | b31f26571ce6f6634487ddc3979358fd280e0f25 /tests/glx/CMakeLists.gl.txt | |
parent | 506ab46926c7069681adce0eb24e3c2b83417865 (diff) |
Add the ability to resume an interrupted test run where it left off.
GPUs like to hang, especially when barraged with lots of mean Piglit
tests. Usually this results in the poor developer having to figure out
what test hung, blacklist it via -x, and start the whole test run over.
This can waste a huge amount of time, especially when many tests hang.
This patch adds the ability to resume a Piglit run where you left off.
The workflow is:
$ piglit-run.py -t foo tests/quick.tests results/foobar-1
<interrupt the test run somehow>
$ piglit-run.py -r -x bad-test results/foobar-1
To accomplish this, piglit-run.py now stores the test profile
(quick.tests) and -t/-x options in the JSON results file so it can tell
what you were originally running. When run with the --resume option, it
re-reads the results file to obtain this information (repairing broken
JSON if necessary), rewrites the existing results, and runs any
remaining tests.
WARNING:
Results files produced after this commit are incompatible with older
piglit-summary-html.py (due to the extra "option" section.)
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'tests/glx/CMakeLists.gl.txt')
0 files changed, 0 insertions, 0 deletions