@@ -462,7 +462,7 @@ public void TestDefaultCppAutobuilder()
462
462
public void TestCppAutobuilderSuccess ( )
463
463
{
464
464
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore C:\Project\test.sln" ] = 1 ;
465
- Actions . RunProcess [ @"cmd.exe /C CALL ^""C:\Program Files ^(x86^)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat^"" && C:\odasa\tools\odasa index --auto msbuild C:\Project\test.sln /p:UseSharedCompilation=false /t:rebuild /p:Platform=""x86"" /p:Configuration=""Release"" /p:MvcBuildViews=true" ] = 0 ;
465
+ Actions . RunProcess [ @"cmd.exe /C CALL ^""C:\Program Files ^(x86^)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat^"" && set Platform=&& type NUL && C:\odasa\tools\odasa index --auto msbuild C:\Project\test.sln /p:UseSharedCompilation=false /t:rebuild /p:Platform=""x86"" /p:Configuration=""Release"" /p:MvcBuildViews=true" ] = 0 ;
466
466
Actions . RunProcessOut [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -prerelease -legacy -property installationPath" ] = "" ;
467
467
Actions . RunProcess [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -prerelease -legacy -property installationPath" ] = 1 ;
468
468
Actions . RunProcess [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe -prerelease -legacy -property installationVersion" ] = 0 ;
@@ -733,9 +733,9 @@ public void TestWindowsCmdIgnoreErrors()
733
733
public void TestWindowCSharpMsBuild ( )
734
734
{
735
735
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore C:\Project\test1.sln" ] = 0 ;
736
- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
736
+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
737
737
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore C:\Project\test2.sln" ] = 0 ;
738
- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
738
+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
739
739
Actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
740
740
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\odasa index --xml --extensions config csproj props xml" ] = 0 ;
741
741
Actions . FileExists [ "csharp.log" ] = true ;
@@ -764,9 +764,9 @@ public void TestWindowCSharpMsBuild()
764
764
public void TestWindowCSharpMsBuildMultipleSolutions ( )
765
765
{
766
766
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore test1.csproj" ] = 0 ;
767
- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild test1.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
767
+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild test1.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
768
768
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore test2.csproj" ] = 0 ;
769
- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild test2.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
769
+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild test2.csproj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
770
770
Actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
771
771
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\odasa index --xml --extensions config csproj props xml" ] = 0 ;
772
772
Actions . FileExists [ "csharp.log" ] = true ;
@@ -811,7 +811,7 @@ public void TestWindowCSharpMsBuildMultipleSolutions()
811
811
public void TestWindowCSharpMsBuildFailed ( )
812
812
{
813
813
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore C:\Project\test1.sln" ] = 0 ;
814
- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 1 ;
814
+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 1 ;
815
815
Actions . FileExists [ "csharp.log" ] = true ;
816
816
Actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" ] = false ;
817
817
Actions . FileExists [ @"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" ] = false ;
@@ -837,8 +837,8 @@ public void TestWindowCSharpMsBuildFailed()
837
837
[ Fact ]
838
838
public void TestSkipNugetMsBuild ( )
839
839
{
840
- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
841
- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
840
+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test1.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
841
+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild C:\\ Project\\ test2.sln /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
842
842
Actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
843
843
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\odasa index --xml --extensions config csproj props xml" ] = 0 ;
844
844
Actions . FileExists [ "csharp.log" ] = true ;
@@ -1031,7 +1031,7 @@ public void TestDotnetVersionWindows()
1031
1031
public void TestDirsProjWindows ( )
1032
1032
{
1033
1033
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\csharp\nuget\nuget.exe restore dirs.proj" ] = 1 ;
1034
- Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && C:\\ odasa\\ tools\\ odasa index --auto msbuild dirs.proj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
1034
+ Actions . RunProcess [ "cmd.exe /C CALL ^\" C:\\ Program Files ^(x86^)\\ Microsoft Visual Studio 12.0\\ VC\\ vcvarsall.bat^\" && set Platform=&& type NUL && C:\\ odasa\\ tools\\ odasa index --auto msbuild dirs.proj /p:UseSharedCompilation=false /t:Windows /p:Platform=\" x86\" /p:Configuration=\" Debug\" /p:MvcBuildViews=true /P:Fu=Bar" ] = 0 ;
1035
1035
Actions . RunProcess [ @"cmd.exe /C C:\codeql\tools\java\bin\java -jar C:\codeql\csharp\tools\extractor-asp.jar ." ] = 0 ;
1036
1036
Actions . RunProcess [ @"cmd.exe /C C:\odasa\tools\odasa index --xml --extensions config csproj props xml" ] = 0 ;
1037
1037
Actions . FileExists [ "csharp.log" ] = true ;
0 commit comments