From 816528d7644626376569e2652d8ee3f80e42c72c Mon Sep 17 00:00:00 2001 From: Egor Chesakov Date: Mon, 13 May 2019 12:24:05 -0700 Subject: Unconditionally capture output of xUnit tests --- tests/runtest.proj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/runtest.proj b/tests/runtest.proj index 3f1faa8fd8..f75bf63af2 100644 --- a/tests/runtest.proj +++ b/tests/runtest.proj @@ -290,7 +290,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\",""). { Assert.True(false, "Test Infrastructure Failure: " + infraEx.Message)%3B } - else if (ret != CoreclrTestWrapperLib.EXIT_SUCCESS_CODE) + else { List allOutput = new List()%3B @@ -328,7 +328,7 @@ namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\",""). output.WriteLine(line)%3B } - Assert.True(false, string.Join(Environment.NewLine, allOutput))%3B + Assert.True(ret == CoreclrTestWrapperLib.EXIT_SUCCESS_CODE, string.Join(Environment.NewLine, allOutput))%3B } } } -- cgit v1.2.3