bug 1188648 - Always log gecko output during Gaia JS Integration Tests. r=jgriffin
authorAus Lacroix <aus@mozilla.com>
Wed, 29 Jul 2015 10:11:27 -0700 (2015-07-29)
changeset 4296 d72df953784c6b73eb1319089c49556f38f5c146
parent 4295 672af8a8da3e7de0967ea2463aea5e8b77f90c77
child 4297 57dde819edcb3fa6293fad3d213f91cdc938da37
push id3428
push userglacroix@mozilla.com
push dateWed, 29 Jul 2015 20:01:51 +0000 (2015-07-29)
reviewersjgriffin
bugs1188648
bug 1188648 - Always log gecko output during Gaia JS Integration Tests. r=jgriffin
scripts/gaia_integration.py
--- a/scripts/gaia_integration.py
+++ b/scripts/gaia_integration.py
@@ -43,16 +43,17 @@ class GaiaIntegrationTest(GaiaTest):
             dirs['abs_gaia_dir'] +
             '/node_modules/marionette-js-runner/host/python/runner-service')
         # Check whether python package is around since there exist versions
         # of gaia that depend on versions of marionette-js-runner without
         # the python stuff.
         if os.path.exists(gaia_runner_service):
             self.install_module('gaia-runner-service', gaia_runner_service)
         env['VIRTUALENV_PATH'] = self.query_virtualenv_path()
+        env['HOST_LOG'] = os.path.join(dirs['abs_log_dir'], 'gecko_output.log')
 
         cmd = [
             'make',
             'test-integration',
             'REPORTER=mocha-tbpl-reporter',
             'TEST_MANIFEST=./shared/test/integration/tbpl-manifest.json',
             'NODE_MODULE_SRC=npm-cache',
             'VIRTUALENV_EXISTS=1'