@@ -725,7 +725,7 @@ public void TestWindowsBuildBatIgnoreErrors()
725
725
[ Fact ]
726
726
public void TestWindowsCmdIgnoreErrors ( )
727
727
{
728
- actions . RunProcess [ "cmd.exe /C ^\" build.cmd --skip-tests^\" " ] = 3 ;
728
+ actions . RunProcess [ "cmd.exe /C ^\" build.cmd^ --skip-tests^\" " ] = 3 ;
729
729
actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
730
730
actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\codeql index --xml --extensions config" ] = 0 ;
731
731
actions . FileExists [ "csharp.log" ] = true ;
@@ -744,9 +744,9 @@ public void TestWindowsCmdIgnoreErrors()
744
744
public void TestWindowCSharpMsBuild ( )
745
745
{
746
746
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 ;
748
748
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 ;
750
750
actions . FileExists [ "csharp.log" ] = true ;
751
751
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
752
752
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -775,9 +775,9 @@ public void TestWindowCSharpMsBuild()
775
775
public void TestWindowCSharpMsBuildMultipleSolutions ( )
776
776
{
777
777
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 ;
779
779
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 ;
781
781
actions . FileExists [ "csharp.log" ] = true ;
782
782
actions . FileExists [ @"C:\Project\test1.csproj" ] = true ;
783
783
actions . FileExists [ @"C:\Project\test2.csproj" ] = true ;
@@ -820,7 +820,7 @@ public void TestWindowCSharpMsBuildMultipleSolutions()
820
820
public void TestWindowCSharpMsBuildFailed ( )
821
821
{
822
822
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 ;
824
824
actions . FileExists [ "csharp.log" ] = true ;
825
825
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
826
826
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -846,8 +846,8 @@ public void TestWindowCSharpMsBuildFailed()
846
846
[ Fact ]
847
847
public void TestSkipNugetMsBuild ( )
848
848
{
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 ;
851
851
actions . FileExists [ "csharp.log" ] = true ;
852
852
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
853
853
actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -1037,7 +1037,7 @@ public void TestDirsProjWindows()
1037
1037
{
1038
1038
actions . RunProcess [ @"cmd.exe /C nuget restore C:\Project\dirs.proj -DisableParallelProcessing" ] = 1 ;
1039
1039
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 ;
1041
1041
actions . FileExists [ "csharp.log" ] = true ;
1042
1042
actions . FileExists [ @"C:\Project\a\test.csproj" ] = true ;
1043
1043
actions . FileExists [ @"C:\Project\dirs.proj" ] = true ;
0 commit comments