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

github.com/mono/linker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Voorhees <michaelv@unity3d.com>2017-07-15 00:15:11 +0300
committerMarek Safar <marek.safar@gmail.com>2017-07-26 18:15:03 +0300
commit3a8bd14a25c2b3b436b995521f645f17d41a394c (patch)
tree847c4b066e888ac98a64ff3e49dd2984c9a31d71 /linker/Tests/Mono.Linker.Tests.Cases.Expectations
parent4ddb5a5309de6bc37a6095a02b5e5f2d439d734a (diff)
Run peverify on the output assemblies
Diffstat (limited to 'linker/Tests/Mono.Linker.Tests.Cases.Expectations')
-rw-r--r--linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/SkipPeVerifyAttribute.cs25
-rw-r--r--linker/Tests/Mono.Linker.Tests.Cases.Expectations/Mono.Linker.Tests.Cases.Expectations.csproj1
2 files changed, 26 insertions, 0 deletions
diff --git a/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/SkipPeVerifyAttribute.cs b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/SkipPeVerifyAttribute.cs
new file mode 100644
index 000000000..eaccabd25
--- /dev/null
+++ b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Assertions/SkipPeVerifyAttribute.cs
@@ -0,0 +1,25 @@
+using System;
+
+namespace Mono.Linker.Tests.Cases.Expectations.Assertions {
+
+ public enum SkipPeVerifyForToolchian
+ {
+ Pedump
+ }
+
+ [AttributeUsage (AttributeTargets.Class, AllowMultiple = true)]
+ public class SkipPeVerifyAttribute : BaseExpectedLinkedBehaviorAttribute
+ {
+ public SkipPeVerifyAttribute ()
+ {
+ }
+
+ public SkipPeVerifyAttribute (SkipPeVerifyForToolchian toolchain)
+ {
+ }
+
+ public SkipPeVerifyAttribute (string assemblyName)
+ {
+ }
+ }
+}
diff --git a/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Mono.Linker.Tests.Cases.Expectations.csproj b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Mono.Linker.Tests.Cases.Expectations.csproj
index f4332245f..a18529218 100644
--- a/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Mono.Linker.Tests.Cases.Expectations.csproj
+++ b/linker/Tests/Mono.Linker.Tests.Cases.Expectations/Mono.Linker.Tests.Cases.Expectations.csproj
@@ -49,6 +49,7 @@
<Compile Include="Assertions\RemovedAssemblyAttribute.cs" />
<Compile Include="Assertions\RemovedMemberInAssemblyAttribute.cs" />
<Compile Include="Assertions\RemovedTypeInAssemblyAttribute.cs" />
+ <Compile Include="Assertions\SkipPeVerifyAttribute.cs" />
<Compile Include="Metadata\BaseMetadataAttribute.cs" />
<Compile Include="Metadata\CoreLinkAttribute.cs" />
<Compile Include="Metadata\IncludeBlacklistStepAttribute.cs" />