summaryrefslogtreecommitdiff
path: root/build-test.cmd
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2019-04-11 22:50:48 -0700
committerGitHub <noreply@github.com>2019-04-11 22:50:48 -0700
commit1660956bca91b93259393419cb169a10df088926 (patch)
tree5f98785b3bff390481c6c259ace59f2cc37f1cf0 /build-test.cmd
parent77bd2c4aab50f84d2a0a94275072ee52f295757c (diff)
downloadcoreclr-1660956bca91b93259393419cb169a10df088926.tar.gz
coreclr-1660956bca91b93259393419cb169a10df088926.tar.bz2
coreclr-1660956bca91b93259393419cb169a10df088926.zip
Enable default Ready2Run testing in pull requests. Workaround an issue with custom xunit.console.dll runner. (#23848)
Diffstat (limited to 'build-test.cmd')
-rw-r--r--build-test.cmd5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-test.cmd b/build-test.cmd
index ee2a4c1a41..774bd7c837 100644
--- a/build-test.cmd
+++ b/build-test.cmd
@@ -557,6 +557,11 @@ if /I "%2" == "mscorlib.ni.dll" exit /b 0
REM don't precompile anything from CoreCLR
if /I exist %CORE_ROOT_STAGE%\%2 exit /b 0
+REM Don't precompile xunit.* files
+echo "%2" | findstr /b "xunit." >nul && (
+ exit /b 0
+)
+
"%CORE_ROOT_STAGE%\crossgen.exe" /Platform_Assemblies_Paths "%CORE_ROOT%" /in "%1" /out "%CORE_ROOT%/temp.ni.dll" >nul 2>nul
set /a __exitCode = %errorlevel%
if "%__exitCode%" == "-2146230517" (