diff options
Diffstat (limited to 'mcs/class/System.Drawing/run-tests.bat')
-rw-r--r-- | mcs/class/System.Drawing/run-tests.bat | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/mcs/class/System.Drawing/run-tests.bat b/mcs/class/System.Drawing/run-tests.bat new file mode 100644 index 00000000000..9ea5669afc5 --- /dev/null +++ b/mcs/class/System.Drawing/run-tests.bat @@ -0,0 +1,52 @@ +@echo off
+REM ********************************************************
+REM This batch call all the test batches with default parameters
+REM ********************************************************
+REM ********************************************************
+REM This batch file receives the follwing parameters:
+REM build/rebuild (optional): should the solution file be rebuilded
+REM or just builded before test run (default is rebuild)
+REM ********************************************************
+
+IF "%1"=="" (
+ set BUILD_OPTION=rebuild
+) ELSE (
+ set BUILD_OPTION=%1
+)
+
+IF "%2"=="" (
+ set OUTPUT_FILE_PREFIX=System.Drawing.MonoTests.NUnitTestResult
+) ELSE (
+ set OUTPUT_FILE_PREFIX=%2
+)
+
+
+IF "%3"=="" (
+ set RUNNING_FIXTURE=MonoTests
+) ELSE (
+ set RUNNING_FIXTURE=%3
+)
+
+call run-tests.test.bat %BUILD_OPTION% %OUTPUT_FILE_PREFIX% %RUNNING_FIXTURE% "" ""
+
+IF "%1"=="" (
+ set BUILD_OPTION=rebuild
+) ELSE (
+ set BUILD_OPTION=%1
+)
+
+IF "%2"=="" (
+ set OUTPUT_FILE_PREFIX=System.Drawing.Test.NUnitTestResult
+) ELSE (
+ set OUTPUT_FILE_PREFIX=%2
+)
+
+
+IF "%3"=="" (
+ set RUNNING_FIXTURE=Test
+) ELSE (
+ set RUNNING_FIXTURE=%3
+)
+
+@echo on
+call run-tests.test.bat %BUILD_OPTION% %OUTPUT_FILE_PREFIX% %RUNNING_FIXTURE% "Test\DrawingTest\Test" "..\..\..\"
\ No newline at end of file |