@@ -345,6 +345,7 @@ CSharpAutobuilder CreateAutoBuilder(bool isWindows,
345345 Actions . GetEnvironmentVariable [ $ "CODEQL_EXTRACTOR_{ codeqlUpperLanguage } _SOURCE_ARCHIVE_DIR"] = "" ;
346346 Actions . GetEnvironmentVariable [ $ "CODEQL_EXTRACTOR_{ codeqlUpperLanguage } _ROOT"] = $@ "C:\codeql\{ codeqlUpperLanguage . ToLowerInvariant ( ) } ";
347347 Actions . GetEnvironmentVariable [ "CODEQL_JAVA_HOME" ] = @"C:\codeql\tools\java" ;
348+ Actions . GetEnvironmentVariable [ "CODEQL_PLATFORM" ] = isWindows ? "win64" : "linux64" ;
348349 Actions . GetEnvironmentVariable [ "SEMMLE_DIST" ] = @"C:\odasa" ;
349350 Actions . GetEnvironmentVariable [ "SEMMLE_JAVA_HOME" ] = @"C:\odasa\tools\java" ;
350351 Actions . GetEnvironmentVariable [ "SEMMLE_PLATFORM_TOOLS" ] = @"C:\odasa\tools" ;
@@ -497,7 +498,7 @@ public void TestVcVarsAllBatFiles()
497498 [ Fact ]
498499 public void TestLinuxBuildlessExtractionSuccess ( )
499500 {
500- Actions . RunProcess [ @"C:\odasa\ tools/csharp /Semmle.Extraction.CSharp.Standalone --references:." ] = 0 ;
501+ Actions . RunProcess [ @"C:\codeql\csharp/ tools/linux64 /Semmle.Extraction.CSharp.Standalone --references:." ] = 0 ;
501502 Actions . RunProcess [ @"C:\codeql\tools\java/bin/java -jar C:\codeql\csharp/tools/extractor-asp.jar ." ] = 0 ;
502503 Actions . RunProcess [ @"C:\odasa/tools/odasa index --xml --extensions config csproj props xml" ] = 0 ;
503504 Actions . FileExists [ "csharp.log" ] = true ;
@@ -513,7 +514,7 @@ public void TestLinuxBuildlessExtractionSuccess()
513514 [ Fact ]
514515 public void TestLinuxBuildlessExtractionFailed ( )
515516 {
516- Actions . RunProcess [ @"C:\odasa\ tools/csharp /Semmle.Extraction.CSharp.Standalone --references:." ] = 10 ;
517+ Actions . RunProcess [ @"C:\codeql\csharp/ tools/linux64 /Semmle.Extraction.CSharp.Standalone --references:." ] = 10 ;
517518 Actions . FileExists [ "csharp.log" ] = true ;
518519 Actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
519520 Actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_SOURCE_ARCHIVE_DIR" ] = "" ;
@@ -527,7 +528,7 @@ public void TestLinuxBuildlessExtractionFailed()
527528 [ Fact ]
528529 public void TestLinuxBuildlessExtractionSolution ( )
529530 {
530- Actions . RunProcess [ @"C:\odasa\ tools/csharp /Semmle.Extraction.CSharp.Standalone foo.sln --references:." ] = 0 ;
531+ Actions . RunProcess [ @"C:\codeql\csharp/ tools/linux64 /Semmle.Extraction.CSharp.Standalone foo.sln --references:." ] = 0 ;
531532 Actions . RunProcess [ @"C:\codeql\tools\java/bin/java -jar C:\codeql\csharp/tools/extractor-asp.jar ." ] = 0 ;
532533 Actions . RunProcess [ @"C:\odasa/tools/odasa index --xml --extensions config csproj props xml" ] = 0 ;
533534 Actions . FileExists [ "csharp.log" ] = true ;
@@ -835,7 +836,7 @@ public void TestSkipNugetMsBuild()
835836 [ Fact ]
836837 public void TestSkipNugetBuildless ( )
837838 {
838- Actions . RunProcess [ @"C:\odasa\ tools/csharp /Semmle.Extraction.CSharp.Standalone foo.sln --references:. --skip-nuget" ] = 0 ;
839+ Actions . RunProcess [ @"C:\codeql\csharp/ tools/linux64 /Semmle.Extraction.CSharp.Standalone foo.sln --references:. --skip-nuget" ] = 0 ;
839840 Actions . RunProcess [ @"C:\codeql\tools\java/bin/java -jar C:\codeql\csharp/tools/extractor-asp.jar ." ] = 0 ;
840841 Actions . RunProcess [ @"C:\odasa/tools/odasa index --xml --extensions config csproj props xml" ] = 0 ;
841842 Actions . FileExists [ "csharp.log" ] = true ;
0 commit comments