#!/bin/bash if [[ -z "$1" ]]; then echo "no target ip has been defined." exit 1 fi SQUISH_RUNNER_PATH="/opt/squishqt/bin" SQUISH_SERVER_HOST="$1" SQUISH_SERVER_PORT=4322 TESTSUITE="$(pwd)/testsuites" REPORTPATH="$(pwd)/reports" cd $SQUISH_RUNNER_PATH/ ./squishrunner \ --host $SQUISH_SERVER_HOST \ --port $SQUISH_SERVER_PORT \ --testsuite $TESTSUITE \ --reportgen xml2.1,$REPORTPATH/report.xml