diff --git a/ICSharpCode.Decompiler.Tests/Helpers/Tester.cs b/ICSharpCode.Decompiler.Tests/Helpers/Tester.cs index c4d827a15..bf0c3c647 100644 --- a/ICSharpCode.Decompiler.Tests/Helpers/Tester.cs +++ b/ICSharpCode.Decompiler.Tests/Helpers/Tester.cs @@ -366,7 +366,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers new CSharpCompilationOptions( OutputKind.DynamicallyLinkedLibrary, platform: Platform.AnyCpu, - optimizationLevel: OptimizationLevel.Debug, + optimizationLevel: OptimizationLevel.Release, allowUnsafe: true, deterministic: true )); diff --git a/ICSharpCode.Decompiler.Tests/PdbGenerationTestRunner.cs b/ICSharpCode.Decompiler.Tests/PdbGenerationTestRunner.cs index 366cb07c6..965044f17 100644 --- a/ICSharpCode.Decompiler.Tests/PdbGenerationTestRunner.cs +++ b/ICSharpCode.Decompiler.Tests/PdbGenerationTestRunner.cs @@ -24,7 +24,6 @@ namespace ICSharpCode.Decompiler.Tests static readonly string TestCasePath = Tester.TestCasePath + "/PdbGen"; [Test] - [Ignore("Needs adjustments in generator")] public void HelloWorld() { TestGeneratePdb(); diff --git a/ICSharpCode.Decompiler.Tests/TestCases/PdbGen/HelloWorld.xml b/ICSharpCode.Decompiler.Tests/TestCases/PdbGen/HelloWorld.xml index 34f0e7831..752b08f56 100644 --- a/ICSharpCode.Decompiler.Tests/TestCases/PdbGen/HelloWorld.xml +++ b/ICSharpCode.Decompiler.Tests/TestCases/PdbGen/HelloWorld.xml @@ -20,19 +20,17 @@ namespace ICSharpCode.Decompiler.Tests.TestCases.PdbGen - - - - - - + + + + - + - + \ No newline at end of file