@@ -725,7 +725,7 @@ public void TestWindowsBuildBatIgnoreErrors()
725725 [ Fact ]
726726 public void TestWindowsCmdIgnoreErrors ( )
727727 {
728- actions . RunProcess [ "cmd.exe /C ^\" build.cmd --skip-tests^\" " ] = 3 ;
728+ actions . RunProcess [ "cmd.exe /C ^\" build.cmd^ --skip-tests^\" " ] = 3 ;
729729 actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
730730 actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\codeql index --xml --extensions config" ] = 0 ;
731731 actions . FileExists [ "csharp.log" ] = true ;
@@ -744,9 +744,9 @@ public void TestWindowsCmdIgnoreErrors()
744744 public void TestWindowCSharpMsBuild ( )
745745 {
746746 actions . RunProcess [ @"cmd.exe /C C:\Project\.nuget\nuget.exe restore C:\Project\test1.sln -DisableParallelProcessing" ] = 0 ;
747- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
747+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program^ Files^ ^(x86^)\\ Microsoft^ Visual^ Studio^ 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
748748 actions . RunProcess [ @"cmd.exe /C C:\Project\.nuget\nuget.exe restore C:\Project\test2.sln -DisableParallelProcessing" ] = 0 ;
749- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
749+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program^ Files^ ^(x86^)\\ Microsoft^ Visual^ Studio^ 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
750750 actions . FileExists [ "csharp.log" ] = true ;
751751 actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
752752 actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -775,9 +775,9 @@ public void TestWindowCSharpMsBuild()
775775 public void TestWindowCSharpMsBuildMultipleSolutions ( )
776776 {
777777 actions . RunProcess [ @"cmd.exe /C nuget restore C:\Project\test1.csproj -DisableParallelProcessing" ] = 0 ;
778- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.csproj /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
778+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program^ Files^ ^(x86^)\\ Microsoft^ Visual^ Studio^ 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.csproj /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
779779 actions . RunProcess [ @"cmd.exe /C nuget restore C:\Project\test2.csproj -DisableParallelProcessing" ] = 0 ;
780- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.csproj /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
780+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program^ Files^ ^(x86^)\\ Microsoft^ Visual^ Studio^ 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.csproj /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
781781 actions . FileExists [ "csharp.log" ] = true ;
782782 actions . FileExists [ @"C:\Project\test1.csproj" ] = true ;
783783 actions . FileExists [ @"C:\Project\test2.csproj" ] = true ;
@@ -820,7 +820,7 @@ public void TestWindowCSharpMsBuildMultipleSolutions()
820820 public void TestWindowCSharpMsBuildFailed ( )
821821 {
822822 actions . RunProcess [ @"cmd.exe /C nuget restore C:\Project\test1.sln -DisableParallelProcessing" ] = 0 ;
823- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 1 ;
823+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program^ Files^ ^(x86^)\\ Microsoft^ Visual^ Studio^ 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 1 ;
824824 actions . FileExists [ "csharp.log" ] = true ;
825825 actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
826826 actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -846,8 +846,8 @@ public void TestWindowCSharpMsBuildFailed()
846846 [ Fact ]
847847 public void TestSkipNugetMsBuild ( )
848848 {
849- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
850- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
849+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program^ Files^ ^(x86^)\\ Microsoft^ Visual^ Studio^ 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test1.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
850+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program^ Files^ ^(x86^)\\ Microsoft^ Visual^ Studio^ 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ test2.sln /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
851851 actions . FileExists [ "csharp.log" ] = true ;
852852 actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
853853 actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -1037,7 +1037,7 @@ public void TestDirsProjWindows()
10371037 {
10381038 actions . RunProcess [ @"cmd.exe /C nuget restore C:\Project\dirs.proj -DisableParallelProcessing" ] = 1 ;
10391039 actions . RunProcess [ @"cmd.exe /C C:\Project\.nuget\nuget.exe restore C:\Project\dirs.proj -DisableParallelProcessing" ] = 0 ;
1040- actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ dirs.proj /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
1040+ actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program^ Files^ ^(x86^)\\ Microsoft^ Visual^ Studio^ 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && msbuild C:\\ Project\\ dirs.proj /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /P:Fu=Bar" ] = 0 ;
10411041 actions . FileExists [ "csharp.log" ] = true ;
10421042 actions . FileExists [ @"C:\Project\a\test.csproj" ] = true ;
10431043 actions . FileExists [ @"C:\Project\dirs.proj" ] = true ;
0 commit comments