зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1405428 - fix paths for detecting jsreftests. r=gbrown
This commit is contained in:
Родитель
4219fd422a
Коммит
a21ba8ce6d
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче