Bug 1063728 - Run SpiderMonkey style checkers as part of the build instead of make check. r=chmanchester

This commit is contained in:
Jan de Mooij
2018-04-26 09:09:51 +02:00
parent 2e271b87d8
commit 5ded69bd07
6 changed files with 27 additions and 29 deletions

View File

@@ -308,18 +308,6 @@ class CheckSpiderMonkeyCommand(MachCommandBase):
self.bindir, executable_name('jsapi-tests'))]
jsapi_tests_result = subprocess.call(jsapi_tests_cmd)
print('running check-style')
check_style_cmd = [python, os.path.join(
self.topsrcdir, 'config', 'check_spidermonkey_style.py')]
check_style_result = subprocess.call(
check_style_cmd, cwd=self.topsrcdir)
print('running check-masm')
check_masm_cmd = [python, os.path.join(
self.topsrcdir, 'config', 'check_macroassembler_style.py')]
check_masm_result = subprocess.call(
check_masm_cmd, cwd=self.topsrcdir)
print('running check-js-msg-encoding')
check_js_msg_cmd = [python, os.path.join(
self.topsrcdir, 'config', 'check_js_msg_encoding.py')]
@@ -327,7 +315,7 @@ class CheckSpiderMonkeyCommand(MachCommandBase):
check_js_msg_cmd, cwd=self.topsrcdir)
all_passed = jittest_result and jstest_result and jsapi_tests_result and \
check_style_result and check_masm_result and check_js_msg_result
check_js_msg_result
return all_passed