[Piglit] [PATCH] framework: change one missed core.checkDir call to core.check_dir

Petri Latvala petri.latvala at intel.com
Thu Apr 13 10:06:38 UTC 2017


Commit 5e699e402a8b ("framework: rename core.checkDir to
core.check_dir") missed one call to checkDir in summary/feature.

Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---

Does this also need exception handling changes like was done in
aaf55584a42d ("framework: core.checkDir raises PiglitException")?


framework/programs/summary.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/programs/summary.py b/framework/programs/summary.py
index e400d9a..d0c5704 100644
--- a/framework/programs/summary.py
+++ b/framework/programs/summary.py
@@ -277,6 +277,6 @@ def feature(input_):
         shutil.rmtree(args.summaryDir)
 
     # If the requested directory doesn't exist, create it or throw an error
-    core.checkDir(args.summaryDir, not args.overwrite)
+    core.check_dir(args.summaryDir, not args.overwrite)
 
     summary.feat(args.resultsFiles, args.summaryDir, args.featureFile)
-- 
2.9.3



More information about the Piglit mailing list