diff options
author | Marek Safar <marek.safar@gmail.com> | 2020-03-08 11:58:55 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2020-03-08 12:33:18 +0300 |
commit | 1189b999f3ddea64a7bdfd2904b238147176fe70 (patch) | |
tree | e5956939fe2e634fe230f2817ed002e99b3e58d6 | |
parent | bd4b7ab7707690e27858dc62896fc5a0e1306be7 (diff) |
Fix wrong optimization value in tests
8 files changed, 8 insertions, 8 deletions
diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/BodiesWithSubstitutions.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/BodiesWithSubstitutions.cs index 2994fe267..668d5142e 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/BodiesWithSubstitutions.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/BodiesWithSubstitutions.cs @@ -6,7 +6,7 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock [SetupLinkerSubstitutionFile ("BodiesWithSubstitutions.xml")] [SetupCSharpCompilerToUse ("csc")] [SetupCompileArgument ("/optimize+")] - [SetupLinkerArgument ("--enable-opt", "ipconstantpropagation")] + [SetupLinkerArgument ("--enable-opt", "ipconstprop")] public class BodiesWithSubstitutions { static class ClassWithField diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs index e2d19f75f..769a5a53c 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/ComplexConditions.cs @@ -6,7 +6,7 @@ using Mono.Linker.Tests.Cases.Expectations.Metadata; namespace Mono.Linker.Tests.Cases.UnreachableBlock { [SetupCompileArgument ("/optimize-")] // Relying on debug csc behaviour - [SetupLinkerArgument ("--enable-opt", "ipconstantpropagation")] + [SetupLinkerArgument ("--enable-opt", "ipconstprop")] public class ComplexConditions { public static void Main () diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs index b779c571f..f0f96f0f6 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/DeadVariables.cs @@ -6,7 +6,7 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock { [SetupCSharpCompilerToUse ("csc")] [SetupCompileArgument ("/optimize+")] - [SetupLinkerArgument ("--enable-opt", "ipconstantpropagation")] + [SetupLinkerArgument ("--enable-opt", "ipconstprop")] public class DeadVariables { public static void Main () diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs index a28ac1929..7f9d02fad 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/MultiStageRemoval.cs @@ -5,7 +5,7 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock { [SetupCSharpCompilerToUse ("csc")] [SetupCompileArgument ("/optimize+")] - [SetupLinkerArgument ("--enable-opt", "ipconstantpropagation")] + [SetupLinkerArgument ("--enable-opt", "ipconstprop")] public class MultiStageRemoval { public static void Main() diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/ReplacedReturns.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/ReplacedReturns.cs index e44bd9856..b7c447b22 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/ReplacedReturns.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/ReplacedReturns.cs @@ -6,7 +6,7 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock { [SetupCSharpCompilerToUse ("csc")] [SetupCompileArgument ("/optimize+")] - [SetupLinkerArgument ("--enable-opt", "ipconstantpropagation")] + [SetupLinkerArgument ("--enable-opt", "ipconstprop")] public class ReplacedReturns { public static void Main () diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/SimpleConditionalProperty.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/SimpleConditionalProperty.cs index 92c8b650a..db4b7ddee 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/SimpleConditionalProperty.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/SimpleConditionalProperty.cs @@ -6,7 +6,7 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock { // [SetupCSharpCompilerToUse ("csc")] [SetupCompileArgument ("/optimize+")] - [SetupLinkerArgument ("--enable-opt", "ipconstantpropagation")] + [SetupLinkerArgument ("--enable-opt", "ipconstprop")] public class SimpleConditionalProperty { public static void Main() diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/SizeOfInConditions.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/SizeOfInConditions.cs index c8db2bb4f..e5d97a702 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/SizeOfInConditions.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/SizeOfInConditions.cs @@ -9,7 +9,7 @@ namespace Mono.Linker.Tests.Cases.UnreachableBlock { [SetupLinkerSubstitutionFile ("SizeOfInConditions.net_4_x.xml")] #endif [SetupCompileArgument ("/unsafe")] - [SetupLinkerArgument ("--enable-opt", "ipconstantpropagation")] + [SetupLinkerArgument ("--enable-opt", "ipconstprop")] public unsafe class SizeOfInConditions { public static void Main () { diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/TryFinallyBlocks.cs b/test/Mono.Linker.Tests.Cases/UnreachableBlock/TryFinallyBlocks.cs index 8ab023599..e5a847ff4 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/TryFinallyBlocks.cs +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/TryFinallyBlocks.cs @@ -3,7 +3,7 @@ using Mono.Linker.Tests.Cases.Expectations.Metadata; namespace Mono.Linker.Tests.Cases.UnreachableBlock { - [SetupLinkerArgument ("--enable-opt", "ipconstantpropagation")] + [SetupLinkerArgument ("--enable-opt", "ipconstprop")] public class TryFinallyBlocks { public static void Main () |