From: Jacek Blaszczynski Date: Sat, 28 Jul 2018 03:50:55 +0000 (+0200) Subject: build-test - fix TestWrapper CS warnings (dotnet/coreclr#19180) X-Git-Tag: submit/tizen/20210909.063632~11030^2~4263 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1534c115444d5dd040816ddd54e6ba14d474e3b4;p=platform%2Fupstream%2Fdotnet%2Fruntime.git build-test - fix TestWrapper CS warnings (dotnet/coreclr#19180) Commit migrated from https://github.com/dotnet/coreclr/commit/ae5909995075f916e0a91804c41f7cf3994779c5 --- 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()