diff options
author | Kenney Phillis <kphillisjr@gmail.com> | 2013-02-07 15:10:09 -0600 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-02-08 11:38:57 -0800 |
commit | 4219c8ddb9047478d61c023cdbcb0cc044390c6e (patch) | |
tree | 3a7df280ecd1236328d627dabd312f6e20c7924f /piglit-run.py | |
parent | d9407a2fdebf5b9b31f1d000e51cf4f1f8ea8514 (diff) |
piglit-run: Fix resume path resolving
Fix resolution of relative paths to absolute paths. This will help keep
piglit from crashing out when resume path is not within source path. This
happens regularly when using distributed testing.
Reviewed-and-tested-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'piglit-run.py')
-rwxr-xr-x | piglit-run.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/piglit-run.py b/piglit-run.py index 9713277bb..8da99a0e3 100755 --- a/piglit-run.py +++ b/piglit-run.py @@ -133,7 +133,7 @@ def main(): usage() if len(args) != 1: usage() - resultsDir = args[0] + resultsDir = path.realpath(args[0]) # Load settings from the old results JSON old_results = core.loadTestResults(resultsDir) |