Skip to content
Permalink
Browse files

Make test folder detection more robust

  • Loading branch information
m-kuhn authored and nyalldawson committed Jul 30, 2020
1 parent 2f99a32 commit f7ca8b6786cdde706acb920c2e9727793b1edf29
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/parse_dash_results.py
@@ -332,7 +332,7 @@ def get_control_image_path(self, test_name):
script_folder, '../tests/testdata/control_images')

matching_control_images = [x[0]
for x in os.walk(control_images_folder) if test_name in x[0]]
for x in os.walk(control_images_folder) if test_name + '/' in x[0] or x[0].endswith(test_name)]
if len(matching_control_images) > 1:
for item in matching_control_images:
print(' - ' + item)

0 comments on commit f7ca8b6

Please sign in to comment.
You can’t perform that action at this time.