From 1534c115444d5dd040816ddd54e6ba14d474e3b4 Mon Sep 17 00:00:00 2001 From: Jacek Blaszczynski Date: Sat, 28 Jul 2018 05:50:55 +0200 Subject: [PATCH] build-test - fix TestWrapper CS warnings (dotnet/coreclr#19180) Commit migrated from https://github.com/dotnet/coreclr/commit/ae5909995075f916e0a91804c41f7cf3994779c5 --- src/coreclr/tests/runtest.proj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/tests/runtest.proj b/src/coreclr/tests/runtest.proj index b1a402c..f071bd7 100644 --- a/src/coreclr/tests/runtest.proj +++ b/src/coreclr/tests/runtest.proj @@ -258,7 +258,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\",""). } catch(Exception ex) { - sErrorText = "Unable to read error file: " + errorFile%3B + sErrorText = $"Unable to read error file: {errorFile}\n{ex}"%3B } string outputText = null%3B @@ -270,7 +270,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\",""). } catch(Exception ex) { - outputText = "Unable to read output file: " + outputFile%3B + outputText = $"Unable to read error file: {outputFile}\n{ex}"%3B } string msg = infraEx != null ? "Test Infrastructure Failure: " + infraEx.ToString() -- 2.7.4