aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/tests/skimage_self_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tests/skimage_self_test.py')
-rwxr-xr-xtools/tests/skimage_self_test.py5
1 files changed, 2 insertions, 3 deletions
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)