This repository has been archived on 2020-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
sp4ke.github.com/scripts/test-server.sh
Vojta Jina 07951a6a80 Update scripts for running tests
- change forward slash into back slash in Win scripts
- split params to new lines
- remove $tests option as it makes no sense now
2011-06-13 18:36:46 +02:00

15 lines
430 B
Bash
Executable File

#!/bin/bash
BASE_DIR=`dirname $0`
PORT=9876
echo "Starting JsTestDriver Server (http://code.google.com/p/js-test-driver/)"
echo "Please open the following url and capture one or more browsers:"
echo "http://localhost:$PORT"
java -jar "$BASE_DIR/../test/lib/jstestdriver/JsTestDriver.jar" \
--port $PORT \
--browserTimeout 20000 \
--config "$BASE_DIR/../config/jsTestDriver.conf" \
--basePath "$BASE_DIR/.."