Bug 1064316 part 3 - Fix |mach check-spidermonkey| to use correct cwd. r=gps
authorJan de Mooij <jdemooij@mozilla.com>
Tue, 24 Apr 2018 16:17:50 +0200
changeset 415368 909e130076ec98076317ce2dd72c2f3af69a2f5c
parent 415367 1723fb2d2d83a3022daa8ad19efb1c65ca9d895b
child 415369 0c5a4939300c48255f926c49c56bfb66ed17184a
push id33894
push usercbrindusan@mozilla.com
push dateTue, 24 Apr 2018 21:51:36 +0000
treeherdermozilla-central@6eeb97ca94f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1064316
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1064316 part 3 - Fix |mach check-spidermonkey| to use correct cwd. r=gps
testing/mach_commands.py
--- a/testing/mach_commands.py
+++ b/testing/mach_commands.py
@@ -307,23 +307,23 @@ class CheckSpiderMonkeyCommand(MachComma
         jsapi_tests_cmd = [os.path.join(
             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=os.path.join(self.topsrcdir, 'js', 'src'))
+            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=os.path.join(self.topsrcdir, 'js', 'src'))
+            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')]
         check_js_msg_result = subprocess.call(
             check_js_msg_cmd, cwd=self.topsrcdir)
 
         all_passed = jittest_result and jstest_result and jsapi_tests_result and \