Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Boemer <sbomer@gmail.com>2022-11-12 03:24:04 +0300
committerSven Boemer <sbomer@gmail.com>2022-11-12 03:24:04 +0300
commit8f1d7fce7af2e499c259b0d23d9d1e27dcf053a7 (patch)
treee12420a1bbd30e2ae5a4156a9fef33444dec08e1
parent547b6a3179fdd8198567bf93176f3290d65038cd (diff)
Use nunit for linker tests, fix cecil version testLinkerIntoRuntime2
-rw-r--r--src/tools/illink/Directory.Build.props1
-rw-r--r--src/tools/illink/test/Mono.Linker.Tests/Mono.Linker.Tests.csproj4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/illink/Directory.Build.props b/src/tools/illink/Directory.Build.props
index e93e5b57585..d4fc08c1808 100644
--- a/src/tools/illink/Directory.Build.props
+++ b/src/tools/illink/Directory.Build.props
@@ -33,5 +33,6 @@
<PropertyGroup>
<LangVersion>preview</LangVersion>
<AnalysisLevel>latest</AnalysisLevel>
+ <UseVSTestRunner>true</UseVSTestRunner>
</PropertyGroup>
</Project>
diff --git a/src/tools/illink/test/Mono.Linker.Tests/Mono.Linker.Tests.csproj b/src/tools/illink/test/Mono.Linker.Tests/Mono.Linker.Tests.csproj
index 60469d46c91..493fb45e45d 100644
--- a/src/tools/illink/test/Mono.Linker.Tests/Mono.Linker.Tests.csproj
+++ b/src/tools/illink/test/Mono.Linker.Tests/Mono.Linker.Tests.csproj
@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
@@ -12,7 +12,7 @@
<!-- Used in testcase to check the cecil package version. -->
<AssemblyAttribute Include="System.Reflection.AssemblyMetadata">
<_Parameter1>CecilPackageVersion</_Parameter1>
- <_Parameter2>$(MonoCecilVersion)</_Parameter2>
+ <_Parameter2>$(MicrosoftDotNetCecilVersion)</_Parameter2>
</AssemblyAttribute>
</ItemGroup>