summaryrefslogtreecommitdiffstats
path: root/Modules/SquishRunTestCase.bat
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/SquishRunTestCase.bat')
-rwxr-xr-xModules/SquishRunTestCase.bat11
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%