From 4219c8ddb9047478d61c023cdbcb0cc044390c6e Mon Sep 17 00:00:00 2001 From: Kenney Phillis Date: Thu, 7 Feb 2013 15:10:09 -0600 Subject: 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 --- piglit-run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'piglit-run.py') 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) -- cgit v1.2.3