mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1253618 - Support |skip-if = asan| manifest annotations in Marionette runner; r=automatedtester
Obtain build info, including asan status, by looking up mozinfo.json. MozReview-Commit-ID: 8XWMGtBEbKL --HG-- extra : rebase_source : f474341433510bd659b4c1d2bc035eec73b603fc
This commit is contained in:
parent
8264d4e801
commit
410b10925a
@ -32,6 +32,19 @@ import httpd
|
||||
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
def update_mozinfo(path=None):
|
||||
"""walk up directories to find mozinfo.json and update the info"""
|
||||
|
||||
path = path or here
|
||||
dirs = set()
|
||||
while path != os.path.expanduser('~'):
|
||||
if path in dirs:
|
||||
break
|
||||
dirs.add(path)
|
||||
path = os.path.split(path)[0]
|
||||
|
||||
return mozinfo.find_and_update_from_json(*dirs)
|
||||
|
||||
|
||||
class MarionetteTest(TestResult):
|
||||
|
||||
@ -1001,6 +1014,8 @@ setReq.onerror = function() {
|
||||
if self.test_tags:
|
||||
filters.append(tags(self.test_tags))
|
||||
e10s = self.appinfo.get('browserTabsRemoteAutostart', False)
|
||||
json_path = update_mozinfo(filepath)
|
||||
self.logger.info("mozinfo updated with the following: {}".format(None))
|
||||
manifest_tests = manifest.active_tests(exists=False,
|
||||
disabled=True,
|
||||
filters=filters,
|
||||
|
Loading…
Reference in New Issue
Block a user