2010-06-21 Marek Habersack <mhabersack@novell.com>
[mcs.git] / class / System.Drawing / run-tests.bat
blobc1171713089b870eb8e814547b4900d170aa0e2b
1 @echo off\r
2 REM ********************************************************\r
3 REM This batch call all the test batches with default parameters\r
4 REM ********************************************************\r
5 REM ********************************************************\r
6 REM This batch file receives the follwing parameters:\r
7 REM build/rebuild (optional): should the solution file be rebuilded \r
8 REM                             or just builded before test run (default is rebuild)\r
9 REM ********************************************************\r
11 IF "%1"=="" (\r
12         set BUILD_OPTION=rebuild\r
13 ) ELSE (\r
14         set BUILD_OPTION=%1\r
15 )\r
16         \r
17 IF "%2"=="" (\r
18         set OUTPUT_FILE_PREFIX=System_Drawing_MonoTests\r
19 ) ELSE (\r
20         set OUTPUT_FILE_PREFIX=%2\r
21 )\r
23         \r
24 IF "%3"=="" (\r
25         set RUNNING_FIXTURE=MonoTests\r
26 ) ELSE (\r
27         set RUNNING_FIXTURE=%3\r
28 )\r
30 call run-tests.test.bat %BUILD_OPTION% %OUTPUT_FILE_PREFIX% %RUNNING_FIXTURE% "" ""\r
32 IF "%1"=="" (\r
33         set BUILD_OPTION=rebuild\r
34 ) ELSE (\r
35         set BUILD_OPTION=%1\r
36 )\r
37         \r
38 IF "%2"=="" (\r
39         set OUTPUT_FILE_PREFIX=System_Drawing_Test\r
40 ) ELSE (\r
41         set OUTPUT_FILE_PREFIX=%2\r
42 )\r
44         \r
45 IF "%3"=="" (\r
46         set RUNNING_FIXTURE=Test\r
47 ) ELSE (\r
48         set RUNNING_FIXTURE=%3\r
49 )\r
51 @echo on\r
52 call run-tests.test.bat %BUILD_OPTION% %OUTPUT_FILE_PREFIX% %RUNNING_FIXTURE% "Test\DrawingTest\Test" "..\..\..\"