projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d758297
)
[mobile_static] Don't try to use SIGKILL to get test stacktrace if Mono.Posix not...
author
Alexander Kyte
<alexmkyte@fastmail.com>
Wed, 1 Jun 2016 18:04:33 +0000
(14:04 -0400)
committer
Alexander Kyte
<alexmkyte@gmail.com>
Mon, 18 Jul 2016 19:03:39 +0000
(15:03 -0400)
mono/tests/test-runner.cs
patch
|
blob
|
history
diff --git
a/mono/tests/test-runner.cs
b/mono/tests/test-runner.cs
index 8a0d2a96a05a3a5671d84819c2ec813ecf23e1ea..cf9bf3351eb76d2a306b93717f1b687a27eec4ab 100644
(file)
--- a/
mono/tests/test-runner.cs
+++ b/
mono/tests/test-runner.cs
@@
-17,7
+17,10
@@
using System.Collections.Generic;
using System.Globalization;
using System.Xml;
using System.Text.RegularExpressions;
+
+#if !MOBILE_STATIC
using Mono.Unix.Native;
+#endif
//
// This is a simple test runner with support for parallel execution
@@
-257,12
+260,14
@@
public class TestRunner
timedout.Add (data);
}
+#if !MOBILE_STATIC
// Force the process to print a thread dump
try {
Syscall.kill (p.Id, Signum.SIGQUIT);
Thread.Sleep (1000);
} catch {
}
+#endif
output.Write ($"timed out ({timeout}s)");