diff options
author | Brad Davis <brad.davis@kitware.com> | 2008-12-08 22:39:30 (GMT) |
---|---|---|
committer | Brad Davis <brad.davis@kitware.com> | 2008-12-08 22:39:30 (GMT) |
commit | 5fe7b17d989f66bee8bd461d8558d0e60f18df0b (patch) | |
tree | be713f995aede58a0af24450fc567d8d22b1757f /Modules/SquishRunTestCase.bat | |
parent | 98afdd0e3710678573f3d582eda9744fd30af747 (diff) | |
download | CMake-5fe7b17d989f66bee8bd461d8558d0e60f18df0b.zip CMake-5fe7b17d989f66bee8bd461d8558d0e60f18df0b.tar.gz CMake-5fe7b17d989f66bee8bd461d8558d0e60f18df0b.tar.bz2 |
ENH: adding functionality for finding Squish, adding Squish tests from CMake, and running Squish tests from ctest
Diffstat (limited to 'Modules/SquishRunTestCase.bat')
-rwxr-xr-x | Modules/SquishRunTestCase.bat | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/SquishRunTestCase.bat b/Modules/SquishRunTestCase.bat new file mode 100755 index 0000000..5c5d388 --- /dev/null +++ b/Modules/SquishRunTestCase.bat @@ -0,0 +1,11 @@ +echo 'Starting the squish server...'
+start %1
+
+echo 'Running the test case...'
+%2 --testcase %3 --wrapper %4 --aut %5
+set result=%ERRORLEVEL%
+
+echo 'Stopping the squish server...'
+%1 --stop
+
+exit \b %result%
|