summaryrefslogtreecommitdiff
path: root/testsuite/driver
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-01-08 12:33:13 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-20 15:33:28 -0500
commit66e511a416b80585995d2b4a669eb037471cb57d (patch)
tree40d43f4cc68ba4346da00728a437ef0fbac78209 /testsuite/driver
parente90ecc932c4857c774405dc398c940290f70f371 (diff)
downloadhaskell-66e511a416b80585995d2b4a669eb037471cb57d.tar.gz
testsuite: Preserve more information in framework failures
Namely print the entire exception in hopes that this will help track down #17649.
Diffstat (limited to 'testsuite/driver')
-rw-r--r--testsuite/driver/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testlib.py b/testsuite/driver/testlib.py
index 228a82b942..b534d11475 100644
--- a/testsuite/driver/testlib.py
+++ b/testsuite/driver/testlib.py
@@ -975,8 +975,8 @@ def test_common_work(watcher: testutil.Watcher,
except KeyboardInterrupt:
stopNow()
except Exception as e:
- framework_fail(name, way, str(e))
traceback.print_exc()
+ framework_fail(name, way, traceback.format_exc())
t.n_tests_skipped += len(set(all_ways) - set(do_ways))