зеркало из https://github.com/dotnet/llilc.git
Enable use of Conservative GC for LLILC Testing
This change has two parts: (1) Pass ALTJIT settings via the LLILCTestEnv.cmd script, to match the change in CoreClr test infrastructure. (2) Run CoreCLR in Conservative GC mode for LLILC tests. Testing: LLILC Tests passed locally This change fixes Issue# 27
This commit is contained in:
Родитель
7db61d52d0
Коммит
8d7c62c1a6
|
@ -780,6 +780,7 @@ function Global:RunTest([string]$Arch="x64", [string]$Build="Release")
|
|||
$CoreCLRTestAssets = CoreCLRTestAssets
|
||||
$CoreCLRRuntime = CoreCLRRuntime
|
||||
$CoreCLRVersion = CoreCLRVersion
|
||||
$LLILCTest = LLILCTest
|
||||
|
||||
# Workaround exception handling issue
|
||||
chcp 65001 | Out-Null
|
||||
|
@ -787,8 +788,7 @@ function Global:RunTest([string]$Arch="x64", [string]$Build="Release")
|
|||
$Env:SkipTestAssemblies = "Common;Exceptions;GC;Loader;managed;packages;Regressions;runtime;Tests;TestWrappers_x64_release;Threading"
|
||||
pushd .
|
||||
cd $CoreCLRTestAssets\coreclr\tests
|
||||
|
||||
.\runtest $Arch $Build EnableAltJit LLILCJit $CoreCLRRuntime\$CoreCLRVersion\bin | Write-Host
|
||||
.\runtest $Arch $Build TestEnv $LLILCTest\LLILCTestEnv.cmd $CoreCLRRuntime\$CoreCLRVersion\bin | Write-Host
|
||||
$NumDiff = CheckDiff -Create $True -UseDiffTool $False -Arch $Arch -Build $Build
|
||||
$NumFailures = CheckFailure -Arch $Arch -Build $Build
|
||||
popd
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
REM -------------------------------------------------------------------------
|
||||
REM
|
||||
REM This script provides LLILC test environment settings
|
||||
REM
|
||||
REM -------------------------------------------------------------------------
|
||||
|
||||
set COMPLUS_AltJit=*
|
||||
set COMPLUS_AltJitName=LLILCJit.dll
|
||||
set COMPLUS_GCCONSERVATIVE=1
|
Загрузка…
Ссылка в новой задаче