- wpr_test_pattern = 'endure_([^_]+)_wpr(_test_|-)([^/]+)-stdio'
-
- found_wpr_result = False
- match = re.findall(test_pattern, location)
- if not match:
- match = re.findall(wpr_test_pattern, location)
- if match:
- found_wpr_result = True
- else:
- logging.error('Test name not in expected format: ' + location)
- return False