Enable building only native test components
authorRahul Kumar <rahku@microsoft.com>
Tue, 21 Jun 2016 00:01:34 +0000 (17:01 -0700)
committerRahul Kumar <rahku@microsoft.com>
Tue, 21 Jun 2016 00:01:34 +0000 (17:01 -0700)
tests/buildtest.cmd

index bb391ed..6fcb3e7 100644 (file)
@@ -70,6 +70,8 @@ if /i "%1" == "priority"            (set __TestPriority=%2&set processedArgs=!pr
 
 if /i "%1" == "verbose"             (set __verbosity=detailed&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop)
 
+if /i "%1" == "skipmanaged"         (set __SkipManaged=1&set processedArgs=!processedArgs! %1&shift&goto Arg_Loop)
+
 @REM It was initially /toolset_dir. Not sure why, since it doesn't match the other usage.
 if /i "%1" == "/toolset_dir"        (set __ToolsetDir=%2&set __PassThroughArgs=%__PassThroughArgs% %2&set processedArgs=!processedArgs! %1 %2&shift&shift&goto Arg_Loop)
 if /i "%1" == "toolset_dir"         (set __ToolsetDir=%2&set __PassThroughArgs=%__PassThroughArgs% %2&set processedArgs=!processedArgs! %1 %2&shift&shift&goto Arg_Loop)
@@ -235,6 +237,8 @@ if errorlevel 1 exit /b 1
 REM endlocal to rid us of environment changes from vcvarsall.bat
 endlocal
 
+if defined __SkipManaged exit /b 0
+
 REM =========================================================================================
 REM ===
 REM === Managed test build section