Permalink
Browse files

add ability to pass in app path for sd app deployed to manhattan

  • Loading branch information...
1 parent 290b70d commit 0a5876cffd01ad25dd4dc60eaf5014d1d85aa726 Lichun Zhan committed Mar 1, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/run.js
View
@@ -32,6 +32,7 @@ program.command('test')
.option('--port <value>', 'port number to run app')
.option('--coverage', 'Arrow code coverage')
.option('--reuseSession', 'Arrow reuseSession')
+ .option('--baseUrl <value>', 'Full app path including port if there is one to run arrow tests')
.option('--group <value>', 'Arrow group')
.option('--driver <value>', 'Arrow driver')
.option('--browser <value>', 'Arrow browser')
@@ -236,7 +237,8 @@ function runFuncTests (cmd, desc, port, thispid, arrowReportDir, callback) {
console.log('---Running Functional Tests---');
var group = cmd.group || null,
- baseUrl = 'http:\/\/'+hostip+':'+port;
+ defaultBaseUrl = 'http:\/\/'+hostip+':'+port,
+ baseUrl = cmd.baseUrl || defaultBaseUrl;
var commandArgs = [
cwd + "/../node_modules/yahoo-arrow/index.js",
"--descriptor=" + desc,

0 comments on commit 0a5876c

Please sign in to comment.