Bug 503613 - Remove the tail file functionality from xpcshell; r=gps

MozReview-Commit-ID: JcglhFl89DX
This commit is contained in:
Mark Banner
2017-01-17 15:27:55 +00:00
parent 2da40df2f7
commit ee78c2e613
9 changed files with 12 additions and 52 deletions

View File

@@ -1351,7 +1351,6 @@ class TreeMetadataEmitter(LoggingMixin):
'manifest': source_manifest,
'name': mozpath.basename(test),
'head': '',
'tail': '',
'support-files': '',
'subsuite': '',
})
@@ -1386,7 +1385,6 @@ class TreeMetadataEmitter(LoggingMixin):
'manifest': manifest_path,
'name': test.id,
'head': '',
'tail': '',
'support-files': '',
'subsuite': '',
})

View File

@@ -1,6 +1,5 @@
[DEFAULT]
head = head1 head2
tail = tail1 tail2
dupe-manifest =
[test_xpcshell.js]

View File

@@ -600,8 +600,6 @@ class TestEmitterBasic(unittest.TestCase):
'test_xpcshell.js': True,
'head1': False,
'head2': False,
'tail1': False,
'tail2': False,
},
},
'reftest.list': {

View File

@@ -48,7 +48,6 @@ ALL_TESTS = {
"name": "test_async_chain.js",
"path": "/Users/gps/src/firefox/services/common/tests/unit/test_async_chain.js",
"relpath": "test_async_chain.js",
"tail": ""
}
],
"services/common/tests/unit/test_async_querySpinningly.js": [
@@ -63,7 +62,6 @@ ALL_TESTS = {
"name": "test_async_querySpinningly.js",
"path": "/Users/gps/src/firefox/services/common/tests/unit/test_async_querySpinningly.js",
"relpath": "test_async_querySpinningly.js",
"tail": ""
}
],
"toolkit/mozapps/update/test/unit/test_0201_app_launch_apply_update.js": [
@@ -81,7 +79,6 @@ ALL_TESTS = {
"relpath": "test_0201_app_launch_apply_update.js",
"run-sequentially": "Launches application.",
"skip-if": "toolkit == 'gonk' || os == 'android'",
"tail": ""
},
{
"dir_relpath": "toolkit/mozapps/update/test/unit",
@@ -97,7 +94,6 @@ ALL_TESTS = {
"relpath": "test_0201_app_launch_apply_update.js",
"run-sequentially": "Launches application.",
"skip-if": "toolkit == 'gonk' || os == 'android'",
"tail": ""
}
],
"mobile/android/tests/background/junit3/src/common/TestAndroidLogWriters.java": [

View File

@@ -340,7 +340,6 @@ class SupportFilesConverter(object):
"""
def __init__(self):
self._fields = (('head', set()),
('tail', set()),
('support-files', set()),
('generated-files', set()))
@@ -382,7 +381,7 @@ class SupportFilesConverter(object):
elif pattern[0] == '!':
info.deferred_installs.add(pattern)
# We only support globbing on support-files because
# the harness doesn't support * for head and tail.
# the harness doesn't support * for head.
elif '*' in pattern and field == 'support-files':
info.pattern_installs.append((manifest_dir, pattern, out_dir))
# "absolute" paths identify files that are to be