diff options
author | Kenney Phillis <kphillisjr@gmail.com> | 2012-07-15 04:27:55 -0500 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2012-07-16 20:13:58 +0100 |
commit | f1060f191986eab0f6cf39d54a43c4895750068e (patch) | |
tree | 79101626f4624d12d8acff2b916b0165418d1f54 /piglit-run.py | |
parent | 03c992ddb51fe7d39777967c94376019f7c19929 (diff) | |
download | piglit-f1060f191986eab0f6cf39d54a43c4895750068e.tar.gz |
Changed piglit-run.py to automatically correct previous test results on a platform where the os seperator is not '\'.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'piglit-run.py')
-rwxr-xr-x | piglit-run.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/piglit-run.py b/piglit-run.py index e24cf2af7..07bab900b 100755 --- a/piglit-run.py +++ b/piglit-run.py @@ -186,6 +186,8 @@ def main(): # from being run again. if OptionResume: for (key, value) in old_results.tests.items(): + if os.path.sep != '/': + key = key.replace(os.path.sep, '/', -1) json_writer.write_dict_item(key, value) env.exclude_tests.add(key) |