diff options
author | Brad King <brad.king@kitware.com> | 2015-05-15 15:22:26 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-05-15 15:22:26 (GMT) |
commit | 1911cb2173cec31fac05de826ed02c4c0a38bc50 (patch) | |
tree | e5adc4508ee32d96272fa76d3f1083c4fb95c455 | |
parent | f6a41a441408cb32fcc5fee1a758627cdf4f9031 (diff) | |
parent | 12b85b17911bbba871ffecf485878091b1be50b6 (diff) | |
download | CMake-1911cb2173cec31fac05de826ed02c4c0a38bc50.zip CMake-1911cb2173cec31fac05de826ed02c4c0a38bc50.tar.gz CMake-1911cb2173cec31fac05de826ed02c4c0a38bc50.tar.bz2 |
Merge topic 'FindSquish-sh-exit'
12b85b17 FindSquish: Avoid bash-specific behavior in test script (#15568)
-rwxr-xr-x | Modules/Squish4RunTestCase.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Squish4RunTestCase.sh b/Modules/Squish4RunTestCase.sh index abd5deb..39a3907 100755 --- a/Modules/Squish4RunTestCase.sh +++ b/Modules/Squish4RunTestCase.sh @@ -11,11 +11,11 @@ SETTINGSGROUP=$7 $SQUISHSERVER --stop > /dev/null 2>&1 echo "Adding AUT... $SQUISHSERVER --settingsGroup $SETTINGSGROUP --config addAUT $AUT $AUTDIR" -$SQUISHSERVER --settingsGroup "$SETTINGSGROUP" --config addAUT "$AUT" "$AUTDIR" || exit -1 +$SQUISHSERVER --settingsGroup "$SETTINGSGROUP" --config addAUT "$AUT" "$AUTDIR" || exit 255 # sleep 1 echo "Starting the squish server... $SQUISHSERVER --daemon" -$SQUISHSERVER --daemon || exit -1 +$SQUISHSERVER --daemon || exit 255 # sleep 2 echo "Running the test case...$SQUISHRUNNER --settingsGroup $SETTINGSGROUP --testsuite $TESTSUITE --testcase $TESTCASE" |