diff options
author | Michael Voorhees <michaelv@unity3d.com> | 2020-03-11 18:25:34 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2020-03-13 21:34:12 +0300 |
commit | 8fbdcca8a7acbe523f6583059442d66d3b70f618 (patch) | |
tree | 38bae8a51b3f78b6b18d24bd4ab5949449f744ef /test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs | |
parent | a65ebbd392b3dad71d67f54ad54b2cdc539b1e86 (diff) |
Ignore complex conditions test
This test fails PEVerify on windows
Invalid IL detected in F:\Temp\linker_tests\output\test.exe
[IL]: Error: [F:\Temp\linker_tests\output\test.exe : Mono.Linker.Tests.Cases.UnreachableBlock.ComplexConditions::Test_1][offset 0x0000001D] Stack depth differs depending on path.
1 Error(s) Verifying F:\Temp\linker_tests\output\test.exe
Diffstat (limited to 'test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs')
-rw-r--r-- | test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs index 769a5a53c..454c842b7 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs @@ -5,6 +5,10 @@ using Mono.Linker.Tests.Cases.Expectations.Metadata; namespace Mono.Linker.Tests.Cases.UnreachableBlock { + // Invalid IL detected in F:\Temp\linker_tests\output\test.exe + // [IL]: Error: [F:\Temp\linker_tests\output\test.exe : Mono.Linker.Tests.Cases.UnreachableBlock.ComplexConditions::Test_1][offset 0x0000001D] Stack depth differs depending on path. + [IgnoreTestCase("Fails peverify on windows.")] + [SetupCompileArgument ("/optimize-")] // Relying on debug csc behaviour [SetupLinkerArgument ("--enable-opt", "ipconstprop")] public class ComplexConditions |