diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2019-05-15 16:33:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 16:33:18 -0700 |
commit | 776187173b1875d170abd7ef5688b66aa8a8256f (patch) | |
tree | fb23591de20b56f9fb36c4957c50b58f0c8a92cf /tests | |
parent | 9c52d077f3d14dd049067945f165d35dbacaf384 (diff) | |
parent | 816528d7644626376569e2652d8ee3f80e42c72c (diff) | |
download | coreclr-776187173b1875d170abd7ef5688b66aa8a8256f.tar.gz coreclr-776187173b1875d170abd7ef5688b66aa8a8256f.tar.bz2 coreclr-776187173b1875d170abd7ef5688b66aa8a8256f.zip |
Unconditionally capture output of xUnit tests (#24554)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runtest.proj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runtest.proj b/tests/runtest.proj index 0e948d9b73..b6b512e9fb 100644 --- a/tests/runtest.proj +++ b/tests/runtest.proj @@ -295,7 +295,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<string> allOutput = new List<string>()%3B @@ -333,7 +333,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 } } } |