Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThays Grazia <thaystg@gmail.com>2018-12-22 03:36:05 +0300
committerGitHub <noreply@github.com>2018-12-22 03:36:05 +0300
commite8c0ce76052edfc3bd24346d5cb868ec26a5c3e9 (patch)
treeaeca0a279035be7d90a3e24ac12458dc641af832 /mcs/class/Mono.Debugger.Soft
parenta0b5245c77fd06509b8adbc8e00f0fdd3af2cb4c (diff)
When going to https://jenkins.mono-project.com/job/test-mono-pull-request-arm64/8921/testReport/junit/(root)/DebuggerTests/StackTraceInNative/ for example, we have no idea why the underlying process has exited. To figure it out, we need to go to https://jenkins.mono-project.com/job/test-mono-pull-request-arm64/8921/parsed_console/log_content.html#WARNING1 and scroll back up to where the test was executed to find out the debuggee process crashed with an assertion. (#12172)
This was fixed by redirecting the StandardOutput and StandardError of the debuggee process in the Mono.Debugger.Soft test suite.
Diffstat (limited to 'mcs/class/Mono.Debugger.Soft')
-rw-r--r--mcs/class/Mono.Debugger.Soft/Test/dtest.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcs/class/Mono.Debugger.Soft/Test/dtest.cs b/mcs/class/Mono.Debugger.Soft/Test/dtest.cs
index 59aca74b936..196b813e908 100644
--- a/mcs/class/Mono.Debugger.Soft/Test/dtest.cs
+++ b/mcs/class/Mono.Debugger.Soft/Test/dtest.cs
@@ -80,7 +80,8 @@ public class DebuggerTests
Diag.ProcessStartInfo CreateStartInfo (string[] args) {
var pi = new Diag.ProcessStartInfo ();
-
+ pi.RedirectStandardOutput = true;
+ pi.RedirectStandardError = true;
if (runtime != null) {
pi.FileName = runtime;
} else {