Browse Source

minor fixes

af/octree-no-pixelmap
Anton Firszov 6 years ago
parent
commit
70a28cfc3c
  1. 2
      tests/ImageSharp.Tests/AssemblyInfo.cs
  2. 8
      tests/ImageSharp.Tests/TestUtilities/TestEnvironment.cs

2
tests/ImageSharp.Tests/AssemblyInfo.cs

@ -3,4 +3,4 @@
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
[assembly:InternalsVisibleTo("SixLabors.ImageSharp.Sandbox46")] [assembly:InternalsVisibleTo("ImageSharp.Tests.ProfilingSandbox")]

8
tests/ImageSharp.Tests/TestUtilities/TestEnvironment.cs

@ -196,8 +196,12 @@ namespace SixLabors.ImageSharp.Tests
proc.WaitForExit(); proc.WaitForExit();
string standardOutput = proc.StandardOutput.ReadToEnd(); string standardOutput = proc.StandardOutput.ReadToEnd();
string standardError = proc.StandardError.ReadToEnd(); string standardError = proc.StandardError.ReadToEnd();
Debug.Print(standardOutput);
Debug.Print(standardError); if (proc.ExitCode != 0)
{
throw new Exception(
$@"Failed to run {si.FileName} {si.Arguments}:\n STDOUT: {standardOutput}\n STDERR: {standardError}");
}
static FileInfo Find(DirectoryInfo root, string name) static FileInfo Find(DirectoryInfo root, string name)
{ {

Loading…
Cancel
Save