Bug 1174191 - ./mach storage-server is not working. r=rnewman
authorFernando Jimenez <ferjmoreno@gmail.com>
Fri, 12 Jun 2015 19:04:20 +0200
changeset 266741 79fae794cc5a4333299401799d1df4cee13e5cb4
parent 266740 8985172298c0cde4207e40a510f83c9e6243fa67
child 266742 50f91f9d83835025f211f0c16958cd8cf288e96e
push id4932
push userjlund@mozilla.com
push dateMon, 10 Aug 2015 18:23:06 +0000
treeherdermozilla-esr52@6dd5a4f5f745 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman
bugs1174191
milestone41.0a1
Bug 1174191 - ./mach storage-server is not working. r=rnewman
services/common/tests/mach_commands.py
--- a/services/common/tests/mach_commands.py
+++ b/services/common/tests/mach_commands.py
@@ -81,19 +81,19 @@ class SyncTestCommands(MachCommandBase):
         args = [
             '%s/run-mozilla.sh' % self.bindir,
             '%s/xpcshell' % self.bindir,
             '-g', self.bindir,
             '-a', self.bindir,
             '-r', '%s/components/httpd.manifest' % self.bindir,
             '-m',
             '-s',
+            '-e', 'const _TESTING_MODULES_DIR = "%s/_tests/modules";' % topobjdir,
             '-f', '%s/testing/xpcshell/head.js' % topsrcdir,
             '-e', 'const _SERVER_ADDR = "%s";' % hostname,
-            '-e', 'const _TESTING_MODULES_DIR = "%s/_tests/modules";' % topobjdir,
             '-e', 'const SERVER_PORT = "%s";' % port,
             '-e', 'const INCLUDE_FILES = [%s];' % ', '.join(head_paths),
             '-e', '_register_protocol_handlers();',
             '-e', 'for each (let name in INCLUDE_FILES) load(name);',
             '-e', '_fakeIdleService.activate();',
             '-f', js_file
             ]