[Piglit] [PATCH] core: don't try to resolve the real path of the file

Ilia Mirkin imirkin at alum.mit.edu
Sat Feb 8 03:42:05 CET 2014


This makes it possible to run the summary on e.g. compressed files or
otherwise piped in with the <( ... ) shell construct.

There should be no difference between open() on a path before and after
the realpath call.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 framework/core.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/framework/core.py b/framework/core.py
index 45eea12..6a122f5 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -647,8 +647,6 @@ def load_results(filename):
     "main"
 
     """
-    filename = os.path.realpath(filename)
-
     try:
         with open(filename, 'r') as resultsfile:
             testrun = TestrunResult(resultsfile)
-- 
1.8.3.2



More information about the Piglit mailing list