diff options
author | Swaroop Sridhar <Swaroop.Sridhar@microsoft.com> | 2017-03-15 10:40:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-15 10:40:25 -0700 |
commit | 7f8ba1a8bd20ce2330b8d733f1e51959470fdd8f (patch) | |
tree | 8f77f36f03d578eca85282b443c292025453bcf3 /tests/src/JIT/Regression/Dev11 | |
parent | 44df0f37ce9e4e4ea63718ba0b4e74d53970037a (diff) | |
download | coreclr-7f8ba1a8bd20ce2330b8d733f1e51959470fdd8f.tar.gz coreclr-7f8ba1a8bd20ce2330b8d733f1e51959470fdd8f.tar.bz2 coreclr-7f8ba1a8bd20ce2330b8d733f1e51959470fdd8f.zip |
Add support for testing via ILLINK
Add support for testing via ILLINK
This commit has the following changes:
1) Setup the testing infrastructure to run the CoreCLR tests after linking through ILLinker
`runtest.cmd /link <path-to-illink.exe>`
2) The linker is taken as an argument for runtest.cmd, typically the corebuild of
https://github.com/mono/linker
3) Tests are run by linking the test binaries and all libraries except `System.Private.Corelib.dll`
4) For tests that use reflection, setup Reflection roots in source directories as `<test>.reflect.xml`
Diffstat (limited to 'tests/src/JIT/Regression/Dev11')
-rw-r--r-- | tests/src/JIT/Regression/Dev11/External/dev11_13748/ReflectOnField.ilproj | 2 | ||||
-rw-r--r-- | tests/src/JIT/Regression/Dev11/External/dev11_13748/ReflectOnField.reflect.xml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/src/JIT/Regression/Dev11/External/dev11_13748/ReflectOnField.ilproj b/tests/src/JIT/Regression/Dev11/External/dev11_13748/ReflectOnField.ilproj index fc143e2d08..78baf3b33c 100644 --- a/tests/src/JIT/Regression/Dev11/External/dev11_13748/ReflectOnField.ilproj +++ b/tests/src/JIT/Regression/Dev11/External/dev11_13748/ReflectOnField.ilproj @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project ToolsVersion="12.0" DefaultTargets="Build;CopyReflectionRoots" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> diff --git a/tests/src/JIT/Regression/Dev11/External/dev11_13748/ReflectOnField.reflect.xml b/tests/src/JIT/Regression/Dev11/External/dev11_13748/ReflectOnField.reflect.xml new file mode 100644 index 0000000000..9b45130938 --- /dev/null +++ b/tests/src/JIT/Regression/Dev11/External/dev11_13748/ReflectOnField.reflect.xml @@ -0,0 +1,5 @@ +<linker> + <assembly fullname="reflectOnField"> + <type fullname="*" required="true" /> + </assembly> +</linker> |