Bug 1405428 - fix paths for detecting jsreftests. r=gbrown

This commit is contained in:
Joel Maher 2018-06-25 14:56:39 -04:00
Родитель 4219fd422a
Коммит a21ba8ce6d
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -36,9 +36,9 @@ def perfile_number_of_chunks(try_task_config, head_repository, head_rev, type):
file_patterns = ['**/test_*',
'**/browser_*',
'**/crashtest*/**',
'js/src/test/test/**',
'js/src/test/non262/**',
'js/src/test/test262/**']
'js/src/tests/test/**',
'js/src/tests/non262/**',
'js/src/tests/test262/**']
else:
# Returning 0 means no tests to run, this captures non test-verify tasks
return 1
@ -67,6 +67,8 @@ def perfile_number_of_chunks(try_task_config, head_repository, head_rev, type):
# TODO: consider running tests if a manifest changes
if path.endswith('.list') or path.endswith('.ini'):
continue
if path.endswith('^headers^'):
continue
if mozpackmatch(path, pattern):
gpu = False