cmake/Modules/SquishRunTestCase.sh
Modestas Vainius 2f5181c101 Import cmake 2.6.3~rc11
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
2009-02-07 16:14:30 +02:00

14 lines
272 B
Bash
Executable File

#!/bin/sh
echo "Starting the squish server...$1 --daemon"
$1 --daemon
echo "Running the test case...$2 --testcase $3 --wrapper $4 --aut $5"
$2 --testcase $3 --wrapper $4 --aut $5
returnValue=$?
echo "Stopping the squish server...$1 --stop"
$1 --stop
exit $returnValue