Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 20 lines (16 sloc) 0.314 kb
abac9809 »
2010-10-04 Adopted skisulli's test.sh opt code to server.sh
1 #!/bin/bash
2 while getopts "j:p:" flag
3 do
4 if [ $flag == "j" ]; then
5 JSTD=$OPTARG
6 elif [ $flag == "p" ]; then
7 PORT=$OPTARG
8 fi
9 done
10
11 if [ -z "$PORT" ]; then
12 PORT=9876
50ddf9f2 »
2010-10-03 Added cpojer as authors in README. Simplified *.sh so that if JSTD is…
13 fi
14
abac9809 »
2010-10-04 Adopted skisulli's test.sh opt code to server.sh
15 if [ -z "$JSTD" ]; then
50ddf9f2 »
2010-10-03 Added cpojer as authors in README. Simplified *.sh so that if JSTD is…
16 JSTD=`ls ../jstestdriver/[jJ]s[tT]est[dD]river*.jar`
17 fi
18
3f4172da »
2010-10-04 Forgot to use the new PORT variable.
19 java -jar $JSTD --port $PORT --runnerMode DEBUG
Something went wrong with that request. Please try again.