瀏覽代碼

run-tests.test.bat: skip nunit build if already done

svn path=/trunk/mcs/; revision=60731
Vladimir Krasnov 19 年之前
父節點
當前提交
2dd71a9449
共有 2 個文件被更改,包括 14 次插入0 次删除
  1. 4 0
      mcs/class/System.Drawing/ChangeLog
  2. 10 0
      mcs/class/System.Drawing/run-tests.test.bat

+ 4 - 0
mcs/class/System.Drawing/ChangeLog

@@ -1,3 +1,7 @@
+2006-05-16  Vladimir Krasnov  <[email protected]>
+
+	* run-tests.test.bat: skip nunit build if already done
+
 2006-05-09  Sebastien Pouliot  <[email protected]>
 
 	* System.Drawing_test.dll.sources: Added unit tests for 

+ 10 - 0
mcs/class/System.Drawing/run-tests.test.bat

@@ -51,8 +51,18 @@ REM ********************************************************
 @echo Building .Net solution...
 REM ********************************************************
 
+if "%NUNIT_BUILD%" == "DONE" goto NUNITSKIP
+
 devenv Test\DrawingTest\System.Drawing.Test.dotnet.sln /%BUILD_OPTION% Debug >%RUNNING_FIXTURE%_build.log.txt 2<&1
 
+goto NUNITREADY
+
+:NUNITSKIP
+echo Skipping NUnit Build...
+
+:NUNITREADY
+set NUNIT_BUILD=DONE
+
 IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION
 
 REM ********************************************************