summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2019-05-15 16:33:18 -0700
committerGitHub <noreply@github.com>2019-05-15 16:33:18 -0700
commit776187173b1875d170abd7ef5688b66aa8a8256f (patch)
treefb23591de20b56f9fb36c4957c50b58f0c8a92cf /tests
parent9c52d077f3d14dd049067945f165d35dbacaf384 (diff)
parent816528d7644626376569e2652d8ee3f80e42c72c (diff)
downloadcoreclr-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.proj4
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
}
}
}