|
63 | 63 | - ${{ if notIn(parameters.testGroup, 'innerloop', 'clrinterpreter') }}: |
64 | 64 | - '${{ parameters.runtimeFlavor }}_common_test_build_p1_AnyOS_AnyCPU_${{parameters.buildConfig }}' |
65 | 65 | - ${{ if ne(parameters.stagedBuild, true) }}: |
66 | | - - ${{ format('{0}_{1}_product_build_{2}{3}_{4}_{5}', parameters.runtimeFlavor, parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} |
| 66 | + - ${{ if or( eq(parameters.runtimeVariant, 'minijit'), eq(parameters.runtimeVariant, 'monointerpreter')) }}: |
| 67 | + # minijit and mono interpreter runtimevariants do not require any special build of the runtime |
| 68 | + - ${{ format('{0}_{1}_product_build_{2}{3}_{4}_{5}', parameters.runtimeFlavor, '', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} |
| 69 | + - ${{ if not(or(eq(parameters.runtimeVariant, 'minijit'), eq(parameters.runtimeVariant, 'monointerpreter'))) }}: |
| 70 | + - ${{ format('{0}_{1}_product_build_{2}{3}_{4}_{5}', parameters.runtimeFlavor, parameters.runtimeVariant, parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} |
67 | 71 | - ${{ if ne(parameters.liveLibrariesBuildConfig, '') }}: |
68 | 72 | - ${{ format('libraries_build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.liveLibrariesBuildConfig) }} |
69 | 73 |
|
|
84 | 88 | - name: runtimeFlavorArgs |
85 | 89 | value: '-excludemonofailures' |
86 | 90 |
|
| 91 | + - name: runtimeVariantArg |
| 92 | + value: '' |
| 93 | + |
| 94 | + - ${{ if not(eq(parameters.runtimeVariant, '')) }}: |
| 95 | + - name: runtimeVariantArg |
| 96 | + value: '/p:RuntimeVariant=${{ parameters.runtimeVariant }}' |
| 97 | + |
87 | 98 | - name: crossgenArg |
88 | 99 | value: '' |
89 | 100 | - name: LogNamePrefix |
@@ -255,7 +266,7 @@ jobs: |
255 | 266 |
|
256 | 267 |
|
257 | 268 | # Generate test wrappers. This is the step that examines issues.targets to exclude tests. |
258 | | - - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) buildtestwrappersonly $(runtimeFlavorArgs) $(crossgenArg) $(buildConfig) $(archType) $(crossArg) $(priorityArg) $(librariesOverrideArg) |
| 269 | + - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) buildtestwrappersonly $(runtimeFlavorArgs) $(runtimeVariantArg) $(crossgenArg) $(buildConfig) $(archType) $(crossArg) $(priorityArg) $(librariesOverrideArg) |
259 | 270 | displayName: Generate test wrappers |
260 | 271 |
|
261 | 272 |
|
@@ -291,10 +302,10 @@ jobs: |
291 | 302 |
|
292 | 303 | - ${{ if and(eq(parameters.runtimeFlavor, 'mono'), eq(parameters.runtimeVariant, 'llvmaot')) }}: |
293 | 304 | - ${{ if eq(parameters.archType, 'x64') }}: |
294 | | - - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) mono_aot $(buildConfig) $(archType) |
| 305 | + - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) mono_aot $(buildConfig) $(archType) $(runtimeVariantArg) |
295 | 306 | displayName: "LLVM AOT compile CoreCLR tests" |
296 | 307 | - ${{ if eq(parameters.archType, 'arm64') }}: |
297 | | - - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) mono_aot $(buildConfig) $(archType) cross |
| 308 | + - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) mono_aot $(buildConfig) $(archType) cross $(runtimeVariantArg) |
298 | 309 | displayName: "LLVM AOT cross-compile CoreCLR tests" |
299 | 310 | env: |
300 | 311 | __MonoToolPrefix: aarch64-linux-gnu- |
@@ -354,8 +365,7 @@ jobs: |
354 | 365 | - normal |
355 | 366 | - ${{ if eq(parameters.runtimeFlavor, 'coreclr') }}: |
356 | 367 | - no_tiered_compilation |
357 | | - - ${{ if eq(parameters.runtimeFlavor, 'mono') }}: |
358 | | - - interpreter |
| 368 | + |
359 | 369 | ${{ if in(parameters.testGroup, 'jitstress') }}: |
360 | 370 | scenarios: |
361 | 371 | - jitminopts |
|
0 commit comments