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:
Swaroop Sridhar 2015-03-04 17:27:48 -08:00
Родитель 7db61d52d0
Коммит 8d7c62c1a6
2 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -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

9
test/LLILCTestEnv.cmd Normal file
Просмотреть файл

@ -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