Skip to content

Commit c89ecef

Browse files
authored
Revert "Fix AOT (#17238)"
This reverts commit 7e59327.
1 parent c805f6d commit c89ecef

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ extends:
128128
- script: eng\CIBuild.cmd
129129
-configuration $(_BuildConfig)
130130
-prepareMachine
131-
-testAllButIntegration
131+
-testAllButIntegrationAndAot
132132
-officialSkipTests $(SkipTests)
133133
/p:SignType=$(_SignType)
134134
/p:DotNetSignType=$(_SignType)

eng/Build.ps1

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ param (
6161
[switch]$testVs,
6262
[switch]$testAll,
6363
[switch]$testAllButIntegration,
64+
[switch]$testAllButIntegrationAndAot,
6465
[switch]$testpack,
6566
[switch]$testAOT,
6667
[switch]$testBenchmarks,
@@ -104,6 +105,7 @@ function Print-Usage() {
104105
Write-Host "Test actions"
105106
Write-Host " -testAll Run all tests"
106107
Write-Host " -testAllButIntegration Run all but integration tests"
108+
Write-Host " -testAllButIntegrationAndAot Run all but integration and AOT tests"
107109
Write-Host " -testCambridge Run Cambridge tests"
108110
Write-Host " -testCompiler Run FSharpCompiler unit tests"
109111
Write-Host " -testCompilerService Run FSharpCompilerService unit tests"
@@ -170,9 +172,19 @@ function Process-Arguments() {
170172
$script:testAOT = $True
171173
}
172174

175+
if($testAllButIntegrationAndAot) {
176+
$script:testDesktop = $True
177+
$script:testCoreClr = $True
178+
$script:testFSharpQA = $True
179+
$script:testIntegration = $False
180+
$script:testVs = $True
181+
$script:testAOT = $False
182+
}
183+
173184
if ([System.Boolean]::Parse($script:officialSkipTests)) {
174185
$script:testAll = $False
175186
$script:testAllButIntegration = $False
187+
$script:testAllButIntegrationAndAot = $False
176188
$script:testCambridge = $False
177189
$script:testCompiler = $False
178190
$script:testCompilerService = $False

src/Microsoft.FSharp.Compiler/Microsoft.FSharp.Compiler.fsproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
<DependentProjects Include="$(MSBuildThisFileDirectory)..\Compiler\FSharp.Compiler.Service.fsproj">
4949
<AdditionalProperties>TargetFrameworks=netstandard2.0</AdditionalProperties>
5050
</DependentProjects>
51+
<DependentProjects Include="$(MSBuildThisFileDirectory)..\Compiler\FSharp.Compiler.Service.fsproj">
52+
<AdditionalProperties>TargetFrameworks=netstandard2.0</AdditionalProperties>
53+
</DependentProjects>
5154
</ItemGroup>
5255

5356
<ItemGroup>

tests/AheadOfTime/check.ps1

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
Write-Host "AheadOfTime: check1.ps1"
22

3-
# the NUGET_PACKAGES environment variable tells dotnet nuget where the global package is
4-
# So save the current setting, we'll reset it after the tests are complete
5-
# Then clear the global cache so that we can grab the FSharp.Core nuget we built earlier
6-
$savedNUGET_PACKAGES=$env:NUGET_PACKAGES
7-
$env:NUGET_PACKAGES=Join-Path $PSScriptRoot "../../artifacts/nuget/AOT/"
8-
dotnet nuget locals global-packages --clear
9-
103
Equality\check.ps1
114
Trimming\check.ps1
12-
$env:NUGET_PACKAGES=$savedNUGET_PACKAGES

0 commit comments

Comments
 (0)