Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1018 from lzhan/testnum
Browse files Browse the repository at this point in the history
add ability to pass in app path for sd app deployed to  manhattan
  • Loading branch information
lzhan committed Mar 4, 2013
2 parents 290b70d + 0a5876c commit b30135d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b30135d

Please sign in to comment.