Browse Source

Fix #1734: Do not roundtrip ICSharpCode.Decompiler test-case.

pull/1738/head
Siegfried Pammer 6 years ago
parent
commit
4bc7feadbf
  1. 9
      ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs

9
ICSharpCode.Decompiler.Tests/RoundtripAssembly.cs

@ -69,7 +69,7 @@ namespace ICSharpCode.Decompiler.Tests @@ -69,7 +69,7 @@ namespace ICSharpCode.Decompiler.Tests
[Test]
public void ICSharpCode_Decompiler()
{
RunWithTest("ICSharpCode.Decompiler", "ICSharpCode.Decompiler.dll", "ICSharpCode.Decompiler.Tests.exe");
RunOnly("ICSharpCode.Decompiler", "ICSharpCode.Decompiler.dll");
}
[Test]
@ -113,7 +113,12 @@ namespace ICSharpCode.Decompiler.Tests @@ -113,7 +113,12 @@ namespace ICSharpCode.Decompiler.Tests
RunInternal(dir, fileToRoundtrip,
outputDir => Tester.RunAndCompareOutput(fileToRoundtrip, Path.Combine(inputDir, fileToRoundtrip), Path.Combine(outputDir, fileToRoundtrip)));
}
void RunOnly(string dir, string fileToRoundtrip)
{
RunInternal(dir, fileToRoundtrip, outputDir => { });
}
void RunInternal(string dir, string fileToRoundtrip, Action<string> testAction, string snkFilePath = null)
{
if (!Directory.Exists(TestDir)) {

Loading…
Cancel
Save