aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tests')
-rw-r--r--tools/tests/skimage/.gitignore2
-rwxr-xr-xtools/tests/skimage_self_test.py5
2 files changed, 3 insertions, 4 deletions
diff --git a/tools/tests/skimage/.gitignore b/tools/tests/skimage/.gitignore
index 91a9c59281..4aa107ac74 100644
--- a/tools/tests/skimage/.gitignore
+++ b/tools/tests/skimage/.gitignore
@@ -1 +1 @@
-results.json
+self_test_results.json
diff --git a/tools/tests/skimage_self_test.py b/tools/tests/skimage_self_test.py
index 94a514458e..d2d072ff41 100755
--- a/tools/tests/skimage_self_test.py
+++ b/tools/tests/skimage_self_test.py
@@ -49,13 +49,12 @@ def main():
cmd_line.extend(["-r", resources_dir])
# Create the expectations file
- results_dir = os.path.join(file_dir, "skimage")
+ results_file = os.path.join(file_dir, "skimage", "self_test_results.json")
create_expectations_cmd = cmd_line + ["--createExpectationsPath",
- results_dir]
+ results_file]
subprocess.check_call(create_expectations_cmd)
# Now read from the expectations file
- results_file = os.path.join(results_dir, "results.json")
check_expectations_cmd = cmd_line + ["--readExpectationsPath",
results_file]
subprocess.check_call(check_expectations_cmd)