aboutsummaryrefslogtreecommitdiff
path: root/testrunner.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-12-13 11:06:57 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2023-12-13 11:17:34 +0100
commit00a66eca0f32fcf585d2c21375641020e877e3ea (patch)
treec2aceeb5047bf46e03726e1c5e8378cf86a4df63 /testrunner.scm
parentFix sxml namespaced util. (diff)
downloadcalp-00a66eca0f32fcf585d2c21375641020e877e3ea.tar.gz
calp-00a66eca0f32fcf585d2c21375641020e877e3ea.tar.xz
Update things depending on namespaced sxml.sxml-work
Update all code to emit correctly formed namespaced sxml objects, instead of the old list based approach. Also introduces a number of typechecks which in semi-related parts of the code. Note that the webdav-server test is currently broken.
Diffstat (limited to 'testrunner.scm')
-rwxr-xr-xtestrunner.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/testrunner.scm b/testrunner.scm
index 8abea1e2..a757fdee 100755
--- a/testrunner.scm
+++ b/testrunner.scm
@@ -183,7 +183,12 @@ exec "$GUILE" --debug --no-auto-compile -e main -s "$0" "$@"
(lambda args
(enqueue! (format-test-runner-crash-message args)
error-queue)
- (values #f '()))))
+ (values #f '()))
+ (lambda _
+ ;; TODO make backtrace configurable
+ ;; TODO backtrace should be placed AFTER the error
+ (enqueue! (with-output-to-string (lambda () (backtrace))) error-queue)
+ )))
(catch 'wrong-type-arg
(lambda () (typecheck module-names (list-of (list-of symbol?))))
(lambda (_ __ fmt args ___)