qt-build-tools/6.5.1/_tools/cmake/share/cmake-3.16/Modules/SquishRunTestCase.sh

14 lines
272 B
Bash
Raw Normal View History

2023-11-01 06:11:15 +08:00
#!/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