diff options
author | Swaroop Sridhar <swaroops@microsoft.com> | 2017-03-22 18:09:05 -0700 |
---|---|---|
committer | Swaroop Sridhar <Swaroop.Sridhar@microsoft.com> | 2017-03-28 11:31:25 -0700 |
commit | 5f05a462321923ee6d9975cc3f88a233b3143332 (patch) | |
tree | 7a5d5fac3e1aa0166bc0702be2cdc075f3f335a6 /tests/runtest.sh | |
parent | c9a0d6d510e92dc4ebd4b78f766c706abce0a9af (diff) | |
download | coreclr-5f05a462321923ee6d9975cc3f88a233b3143332.tar.gz coreclr-5f05a462321923ee6d9975cc3f88a233b3143332.tar.bz2 coreclr-5f05a462321923ee6d9975cc3f88a233b3143332.zip |
Add support for CoreCLR testing via ILLINK on Linux
Made changes to the test infrastructure to
1) Generate <test>.sh with commands to invoke ILLINK and run the output
2) Add runtest.sh --link=<path-to-illink> to invoke the ILLINK testing
Diffstat (limited to 'tests/runtest.sh')
-rwxr-xr-x | tests/runtest.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/runtest.sh b/tests/runtest.sh index 3ec1e34fc3..458f451431 100755 --- a/tests/runtest.sh +++ b/tests/runtest.sh @@ -56,6 +56,7 @@ function print_usage { echo ' 8: GC on every allowable NGEN instr 16: GC only on a unique stack trace' echo ' --long-gc : Runs the long GC tests' echo ' --gcsimulator : Runs the GCSimulator tests' + echo ' --link <ILlink> : Runs the tests after linking via ILlink' echo ' --show-time : Print execution sequence and running time for each test' echo ' --no-lf-conversion : Do not execute LF conversion before running test script' echo ' --build-overlay-only : Exit after overlay directory is populated' @@ -960,7 +961,7 @@ buildOverlayOnly= gcsimulator= longgc= limitedCoreDumps= - +illinker= ((disableEventLogging = 0)) ((serverGC = 0)) @@ -994,6 +995,10 @@ do --jitforcerelocs) export COMPlus_ForceRelocs=1 ;; + --link=*) + export ILLINK=${i#*=} + export DoLink=true + ;; --jitdisasm) jitdisasm=1 ;; |