Do not clean tests folder when skiptests option is used along with clean
authorRahul Kumar <rahku@microsoft.com>
Wed, 6 Jul 2016 21:39:21 +0000 (14:39 -0700)
committerRahul Kumar <rahku@microsoft.com>
Wed, 6 Jul 2016 21:39:21 +0000 (14:39 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/14ae2d54a4d37303d4a3a4d52c300596559ef41a

src/coreclr/build.cmd

index 0e4b1c4..4bbc3c8 100644 (file)
@@ -203,8 +203,6 @@ set __msbuildCleanBuildArgs=/t:rebuild
 :: Cleanup the previous output for the selected configuration
 if exist "%__BinDir%"               rd /s /q "%__BinDir%"
 if exist "%__IntermediatesDir%"     rd /s /q "%__IntermediatesDir%"
-if exist "%__TestBinDir%"           rd /s /q "%__TestBinDir%"
-if exist "%__TestIntermediatesDir%" rd /s /q "%__TestIntermediatesDir%"
 if exist "%__LogsDir%"              del /f /q "%__LogsDir%\*_%__BuildOS%__%__BuildArch%__%__BuildType%.*"
 if exist "%__ProjectDir%\Tools"     rd /s /q "%__ProjectDir%\Tools"