summaryrefslogtreecommitdiff
path: root/share/cmake-3.5/Modules/SquishRunTestCase.bat
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.5/Modules/SquishRunTestCase.bat')
-rwxr-xr-xshare/cmake-3.5/Modules/SquishRunTestCase.bat11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/cmake-3.5/Modules/SquishRunTestCase.bat b/share/cmake-3.5/Modules/SquishRunTestCase.bat
new file mode 100755
index 0000000..5c5d388
--- /dev/null
+++ b/share/cmake-3.5/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%