[Piglit] [PATCH 2/3] Fix piglit resume path resolving.
Kenney Phillis
kphillisjr at gmail.com
Thu Feb 7 13:10:09 PST 2013
Fixes 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.
---
piglit-run.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/piglit-run.py b/piglit-run.py
index 9713277..8da99a0 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)
--
1.7.9.5
More information about the Piglit
mailing list