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
path: root/mcs/tests
diff options
context:
space:
mode:
authorBen Adams <thundercat@illyriad.co.uk>2018-04-14 15:38:18 +0300
committerMarek Safar <marek.safar@gmail.com>2018-04-14 15:38:18 +0300
commita810d53e41ad91fe21ea88fff592260639c43595 (patch)
treee8753d2f78146a9e9e8b9ee652a98ce02795eeec /mcs/tests
parent8430155946c31f0f3f5f04017eebd79ac15e566d (diff)
Make stack traces readable (#6675)
* Make stack traces readable * Updates the logic to work on Mono * [symbolicate] Add support for prettified async stack traces * Tests update
Diffstat (limited to 'mcs/tests')
-rw-r--r--mcs/tests/test-async-17.cs2
-rw-r--r--mcs/tests/ver-il-net_4_x.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/mcs/tests/test-async-17.cs b/mcs/tests/test-async-17.cs
index 9f9720bc2bc..7826c7a1a03 100644
--- a/mcs/tests/test-async-17.cs
+++ b/mcs/tests/test-async-17.cs
@@ -64,7 +64,7 @@ class Tester
try {
await Task.Factory.StartNew (() => { throw new ArgumentException (); }).ConfigureAwait (false);
} catch (ArgumentException e) {
- if (e.StackTrace.Contains (".MoveNext"))
+ if (e.StackTrace.Contains (".MoveNext") || e.StackTrace.Contains ("TestException_7 ()"))
throw new ApplicationException ();
}
diff --git a/mcs/tests/ver-il-net_4_x.xml b/mcs/tests/ver-il-net_4_x.xml
index 4fc8adbf4ab..a2d9e1ec7ec 100644
--- a/mcs/tests/ver-il-net_4_x.xml
+++ b/mcs/tests/ver-il-net_4_x.xml
@@ -63639,7 +63639,7 @@
</type>
<type name="Tester+&lt;TestException_7&gt;c__async6">
<method name="Void MoveNext()" attrs="486">
- <size>272</size>
+ <size>293</size>
</method>
</type>
<type name="Tester+&lt;TestException_3&gt;c__async2+&lt;TestException_3&gt;c__async7">