summaryrefslogtreecommitdiff
path: root/tests/protononjit_testenv.cmd
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2017-04-26 16:01:52 -0700
committerPat Gavlin <pagavlin@microsoft.com>2017-04-27 15:33:31 -0700
commitabd76724643106cfdbd7b6ae80f1551a6d6db511 (patch)
tree45b66850ba2752be53f3b6c330c62774ca4db4a5 /tests/protononjit_testenv.cmd
parent58b0918464bc68345371e81df0cbac07bafb8058 (diff)
downloadcoreclr-abd76724643106cfdbd7b6ae80f1551a6d6db511.tar.gz
coreclr-abd76724643106cfdbd7b6ae80f1551a6d6db511.tar.bz2
coreclr-abd76724643106cfdbd7b6ae80f1551a6d6db511.zip
Remove support for the x86 compat JIT from .NET Core.
These changes remove support for the x86 compat JIT from the build, the runtime, and the various perf/test scripts. Fixes #10733, #10734.
Diffstat (limited to 'tests/protononjit_testenv.cmd')
-rw-r--r--tests/protononjit_testenv.cmd52
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/protononjit_testenv.cmd b/tests/protononjit_testenv.cmd
new file mode 100644
index 0000000000..bba0b6738c
--- /dev/null
+++ b/tests/protononjit_testenv.cmd
@@ -0,0 +1,52 @@
+@REM -------------------------------------------------------------------------
+@REM
+@REM This script provides test environment settings for prototype/cross-targeting JITs.
+@REM
+@REM -------------------------------------------------------------------------
+
+set COMPLUS_AltJit=*
+set COMPLUS_AltJitNgen=*
+set COMPLUS_AltJitName=protononjit.dll
+set COMPLUS_NoGuiOnAssert=1
+set COMPLUS_AltJitAssertOnNYI=1
+
+@REM -------------------------------------------------------------------------
+@REM A JitFuncInfoLogFile is a per-function record of which functions were
+@REM compiled, and what asserts and NYI were hit.
+@REM
+@REM If you wish to collect FuncInfo, choose one of the following collection
+@REM methods to use, by uncommenting the appropriate option.
+
+@REM Option 1: collect a single FuncInfoLogFile for all tests.
+@REM TO DO: set a single, fully-qualified pathname here.
+@REM ==== Uncomment below
+@REM set COMPLUS_JitFuncInfoLogFile=%TEMP%\JitFuncInfoLogFile.txt
+@REM ==== Uncomment above
+
+@REM Option #2: collect one FuncInfoLogFile per test, and put it in
+@REM the same directory as the test. Note that each tests lives in
+@REM its own directory, and the current directory is set to the unique
+@REM test directory before this script is invoked.
+@REM ==== Uncomment below
+@REM set __TestDir=%CD%
+@REM if %__TestDir:~-1%==\ set __TestDir=%__TestDir:~0,-1%
+@REM set COMPLUS_JitFuncInfoLogFile=%__TestDir%\FuncInfo.txt
+@REM ==== Uncomment above
+
+@REM Option #3: collect one FuncInfoLogFile per test, and put all of
+@REM them in a separate directory tree rooted at %__FuncInfoRootDir%.
+@REM If that is set globally already, then use it. Otherwise, use a
+@REM default set here. The directory tree will mirror the test binary tree.
+@REM Note that the current directory is set to the unique test directory
+@REM before this script is invoked.
+@REM ==== Uncomment below
+@REM if not defined __FuncInfoRootDir set __FuncInfoRootDir=c:\FuncInfos
+@REM set __TestDir=%CD%
+@REM if %__TestDir:~-1%==\ set __TestDir=%__TestDir:~0,-1%
+@REM if %__TestDir:~1,1%==: set __TestDir=%__TestDir:~3%
+@REM set __FuncInfoDir=%__FuncInfoRootDir%\%__TestDir%
+@REM if not exist %__FuncInfoDir% mkdir %__FuncInfoDir%
+@REM set COMPLUS_JitFuncInfoLogFile=%__FuncInfoDir%\FuncInfo.txt
+@REM ==== Uncomment above
+
+@REM -------------------------------------------------------------------------