Browse Source

Hide compiler-commandline from output.

pull/2832/head
Siegfried Pammer 3 years ago
parent
commit
d9595cae32
  1. 4
      ICSharpCode.Decompiler.Tests/Helpers/Tester.cs

4
ICSharpCode.Decompiler.Tests/Helpers/Tester.cs

@ -494,7 +494,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers @@ -494,7 +494,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers
var command = Cli.Wrap(cscPath)
.WithArguments($"{otherOptions} -lib:{libPath} {string.Join(" ", references)} -out:\"{Path.GetFullPath(results.PathToAssembly)}\" {string.Join(" ", sourceFileNames.Select(fn => '"' + Path.GetFullPath(fn) + '"'))}")
.WithValidation(CommandResultValidation.None);
Console.WriteLine($"\"{command.TargetFilePath}\" {command.Arguments}");
//Console.WriteLine($"\"{command.TargetFilePath}\" {command.Arguments}");
var result = await command.ExecuteBufferedAsync().ConfigureAwait(false);
if (!string.IsNullOrWhiteSpace(result.StandardOutput))
@ -556,7 +556,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers @@ -556,7 +556,7 @@ namespace ICSharpCode.Decompiler.Tests.Helpers
var command = Cli.Wrap(mcsPath)
.WithArguments($"{otherOptions}-out:\"{Path.GetFullPath(results.PathToAssembly)}\" {string.Join(" ", sourceFileNames.Select(fn => '"' + Path.GetFullPath(fn) + '"'))}")
.WithValidation(CommandResultValidation.None);
Console.WriteLine($"\"{command.TargetFilePath}\" {command.Arguments}");
//Console.WriteLine($"\"{command.TargetFilePath}\" {command.Arguments}");
var result = await command.ExecuteBufferedAsync().ConfigureAwait(false);

Loading…
Cancel
Save