diff --git a/taskcluster/taskgraph/util/perfile.py b/taskcluster/taskgraph/util/perfile.py index 0e8fa0fadf1a..a19c8247bf1a 100644 --- a/taskcluster/taskgraph/util/perfile.py +++ b/taskcluster/taskgraph/util/perfile.py @@ -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