@@ -544,51 +544,6 @@ public void TestVcVarsAllBatFiles()
544
544
Assert . Equal ( 2 , vcvarsfiles . Length ) ;
545
545
}
546
546
547
- [ Fact ]
548
- public void TestLinuxBuildlessExtractionSuccess ( )
549
- {
550
- actions . RunProcess [ @"C:\codeql\csharp/tools/linux64/Semmle.Extraction.CSharp.Standalone" ] = 0 ;
551
- actions . FileExists [ "csharp.log" ] = true ;
552
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
553
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_SOURCE_ARCHIVE_DIR" ] = "" ;
554
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_SCRATCH_DIR" ] = "scratch" ;
555
- actions . EnumerateFiles [ @"C:\Project" ] = "foo.cs\n test.sln" ;
556
- actions . EnumerateDirectories [ @"C:\Project" ] = "" ;
557
-
558
- var autobuilder = CreateAutoBuilder ( false , buildless : "true" ) ;
559
- TestAutobuilderScript ( autobuilder , 0 , 1 ) ;
560
- }
561
-
562
- [ Fact ]
563
- public void TestLinuxBuildlessExtractionFailed ( )
564
- {
565
- actions . RunProcess [ @"C:\codeql\csharp/tools/linux64/Semmle.Extraction.CSharp.Standalone" ] = 10 ;
566
- actions . FileExists [ "csharp.log" ] = true ;
567
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
568
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_SOURCE_ARCHIVE_DIR" ] = "" ;
569
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_SCRATCH_DIR" ] = "scratch" ;
570
- actions . EnumerateFiles [ @"C:\Project" ] = "foo.cs\n test.sln" ;
571
- actions . EnumerateDirectories [ @"C:\Project" ] = "" ;
572
-
573
- var autobuilder = CreateAutoBuilder ( false , buildless : "true" ) ;
574
- TestAutobuilderScript ( autobuilder , 10 , 1 ) ;
575
- }
576
-
577
- [ Fact ]
578
- public void TestLinuxBuildlessExtractionSolution ( )
579
- {
580
- actions . RunProcess [ @"C:\codeql\csharp/tools/linux64/Semmle.Extraction.CSharp.Standalone" ] = 0 ;
581
- actions . FileExists [ "csharp.log" ] = true ;
582
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
583
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_SOURCE_ARCHIVE_DIR" ] = "" ;
584
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_SCRATCH_DIR" ] = "scratch" ;
585
- actions . EnumerateFiles [ @"C:\Project" ] = "foo.cs\n test.sln" ;
586
- actions . EnumerateDirectories [ @"C:\Project" ] = "" ;
587
-
588
- var autobuilder = CreateAutoBuilder ( false , buildless : "true" ) ;
589
- TestAutobuilderScript ( autobuilder , 0 , 1 ) ;
590
- }
591
-
592
547
private void TestAutobuilderScript ( CSharpAutobuilder autobuilder , int expectedOutput , int commandsRun )
593
548
{
594
549
Assert . Equal ( expectedOutput , autobuilder . GetBuildScript ( ) . Run ( actions , StartCallback , EndCallback ) ) ;
@@ -677,21 +632,6 @@ public void TestWindowsBuildBat()
677
632
TestAutobuilderScript ( autobuilder , 0 , 1 ) ;
678
633
}
679
634
680
- [ Fact ]
681
- public void TestSkipNugetBuildless ( )
682
- {
683
- actions . RunProcess [ @"C:\codeql\csharp/tools/linux64/Semmle.Extraction.CSharp.Standalone" ] = 0 ;
684
- actions . FileExists [ "csharp.log" ] = true ;
685
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_TRAP_DIR" ] = "" ;
686
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_SOURCE_ARCHIVE_DIR" ] = "" ;
687
- actions . GetEnvironmentVariable [ "CODEQL_EXTRACTOR_CSHARP_SCRATCH_DIR" ] = "scratch" ;
688
- actions . EnumerateFiles [ @"C:\Project" ] = "foo.cs\n test.sln" ;
689
- actions . EnumerateDirectories [ @"C:\Project" ] = "" ;
690
-
691
- var autobuilder = CreateAutoBuilder ( false , buildless : "true" ) ;
692
- TestAutobuilderScript ( autobuilder , 0 , 1 ) ;
693
- }
694
-
695
635
[ Fact ]
696
636
public void TestDotnetVersionNotInstalled ( )
697
637
{
0 commit comments