diff --git a/eng/pipelines/runtimelab.yml b/eng/pipelines/runtimelab.yml index 078c4290e5e3..cbe8d4c332bd 100644 --- a/eng/pipelines/runtimelab.yml +++ b/eng/pipelines/runtimelab.yml @@ -85,5 +85,3 @@ jobs: testGroup: innerloop buildArgs: -s nativeaot+libs+installer -c $(_BuildConfig) /p:ArchiveTests=true extraStepsTemplate: /eng/pipelines/runtimelab/runtimelab-post-build-steps.yml - extraStepsParameters: - uploadTests: true diff --git a/eng/pipelines/runtimelab/coreclr-tests.yml b/eng/pipelines/runtimelab/coreclr-tests.yml new file mode 100644 index 000000000000..55d648248532 --- /dev/null +++ b/eng/pipelines/runtimelab/coreclr-tests.yml @@ -0,0 +1,44 @@ +trigger: none + +jobs: +# +# Checkout repository +# +- template: /eng/pipelines/common/checkout-job.yml + +# +# Build with Debug config and Checked runtimeConfiguration +# +- template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/global-build-job.yml + buildConfig: Checked + platforms: + - Windows_NT_x64 + jobParameters: + timeoutInMinutes: 720 + testGroup: innerloop + buildArgs: -s nativeaot+libs+installer -lc release -rc checked + extraStepsTemplate: /eng/pipelines/runtimelab/runtimelab-post-build-steps.yml + extraStepsParameters: + smokeTestsOnly: false + runSingleFileTests: false + + +# +# Build with Release config and Release runtimeConfiguration +# +- template: /eng/pipelines/common/platform-matrix.yml + parameters: + jobTemplate: /eng/pipelines/common/global-build-job.yml + buildConfig: Release + platforms: + - Windows_NT_x64 + jobParameters: + timeoutInMinutes: 720 + testGroup: innerloop + buildArgs: -s nativeaot+libs+installer -c $(_BuildConfig) /p:ArchiveTests=true + extraStepsTemplate: /eng/pipelines/runtimelab/runtimelab-post-build-steps.yml + extraStepsParameters: + smokeTestsOnly: false + runSingleFileTests: false diff --git a/eng/pipelines/runtimelab/runtimelab-post-build-steps.yml b/eng/pipelines/runtimelab/runtimelab-post-build-steps.yml index e3ce11840244..7781fd56a3e8 100644 --- a/eng/pipelines/runtimelab/runtimelab-post-build-steps.yml +++ b/eng/pipelines/runtimelab/runtimelab-post-build-steps.yml @@ -4,21 +4,26 @@ parameters: osGroup: '' osSubgroup: '' uploadTests: false + smokeTestsOnly: true + runSingleFileTests: true steps: # Build coreclr native test output - ${{ if eq(parameters.osGroup, 'Windows_NT') }}: - - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) nativeaot skipstressdependencies $(buildConfigUpper) ${{ parameters.archType }} /p:NativeAotMultimodule=true /p:SmokeTestsOnly=true + - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) nativeaot skipstressdependencies $(buildConfigUpper) ${{ parameters.archType }} /p:NativeAotMultimodule=true /p:SmokeTestsOnly=${{ parameters.smokeTestsOnly }} displayName: Build tests - ${{ if ne(parameters.osGroup, 'Windows_NT') }}: - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) nativeaot skipstressdependencies $(buildConfigUpper) ${{ parameters.archType }} /p:SmokeTestsOnly=true displayName: Build tests + - ${{ if eq(parameters.runSingleFileTests, true) }}: + - ${{ if eq(parameters.osGroup, 'Windows_NT') }}: + - script: $(Build.SourcesDirectory)/src/tests/run$(scriptExt) runnativeaottests $(buildConfigUpper) ${{ parameters.archType }} + displayName: Run tests in single file mode + - ${{ if ne(parameters.osGroup, 'Windows_NT') }}: + - script: $(Build.SourcesDirectory)/src/tests/run$(scriptExt) --runnativeaottests $(buildConfigUpper) ${{ parameters.archType }} + displayName: Run tests in single file mode + - ${{ if eq(parameters.osGroup, 'Windows_NT') }}: - - script: $(Build.SourcesDirectory)/src/tests/run$(scriptExt) runnativeaottests $(buildConfigUpper) ${{ parameters.archType }} - displayName: Run tests in single file mode - script: $(Build.SourcesDirectory)/src/tests/run$(scriptExt) runnativeaottests nativeaotmultimodule $(buildConfigUpper) ${{ parameters.archType }} displayName: Run tests in multifile mode - - ${{ if ne(parameters.osGroup, 'Windows_NT') }}: - - script: $(Build.SourcesDirectory)/src/tests/run$(scriptExt) --runnativeaottests $(buildConfigUpper) ${{ parameters.archType }} - displayName: Run tests diff --git a/src/tests/Common/CLRTest.Execute.Batch.targets b/src/tests/Common/CLRTest.Execute.Batch.targets index c7814fb342b5..77d9e59d576e 100644 --- a/src/tests/Common/CLRTest.Execute.Batch.targets +++ b/src/tests/Common/CLRTest.Execute.Batch.targets @@ -312,6 +312,11 @@ set CLRTestExitCode=!ERRORLEVEL! if defined RunCrossGen ( call :ReleaseLock ) +if defined RunNativeAot ( + if NOT "%CLRTestNoCleanup%" == "" ( + IF EXIST native rmdir /s /q native + ) +) $(BatchLinkerTestCleanupCmds) ]]> diff --git a/src/tests/issues.targets b/src/tests/issues.targets index 845dfc41c3c0..e9e87bd039f6 100644 --- a/src/tests/issues.targets +++ b/src/tests/issues.targets @@ -1197,6 +1197,12 @@ Implement general purpose RuntimeHelpers.InitializeArray + + Implement general purpose RuntimeHelpers.InitializeArray + + + Needs triage. Might be non-deterministic. Reproed without optimizations. + Throwing from a filter block @@ -1320,6 +1326,12 @@ Module constructors + + Module constructors + + + needs triage + Needs triage @@ -1344,6 +1356,9 @@ ReadyToRun tests + + needs triage + Disallow setting readonly static fields @@ -1354,6 +1369,21 @@ EventPipe + + + Needs triage + + + Needs triage + + + Needs triage + + + Needs triage + + +