diff --git a/e2etestrunner.js b/e2etestrunner.js index 99d4191..10911f2 100755 --- a/e2etestrunner.js +++ b/e2etestrunner.js @@ -14,9 +14,6 @@ var async = require('async'), superagent = require('superagent'), util = require('util'); -var E2E_TEST_DIR = path.join(process.env.HOME, 'e2e-test'); -var INSTALLER_DIR = path.join(process.env.HOME, 'installer'); - // override debug.log to print only as console.log debug.log = console.log.bind(console); @@ -72,7 +69,7 @@ function runTests(latestETag, latestBoxVersion, callback) { debug('Running tests for %s', topic); - shell.system('e2etestrunner', 'npm test', { cwd: E2E_TEST_DIR }, function (error, stdout, stderr) { + shell.system('e2etestrunner', 'npm test', function (error, stdout, stderr) { debug('Final test result', error); mailer.sendEndToEndTestResult(topic, stdout ? stdout.toString('utf8') : '', stderr ? stderr.toString('utf8') : '', function () { });