Remove Guile line numbers from backtrace tests
All checks were successful
/ test (push) Successful in 4s

As these differ between 3.0.10 and 3.0.11.
This commit is contained in:
Christopher Baines 2026-03-22 19:12:59 +00:00
parent 33db002464
commit f203a8933a
14 changed files with 14 additions and 14 deletions

View file

@ -4,7 +4,7 @@
(lambda ()
(let ((cache (make-fixed-size-resource-pool
(list (open-input-string "fake")))))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (e)
(print-backtrace-and-exception/knots e)

View file

@ -3,7 +3,7 @@
(run-fibers
(lambda ()
(let ((pool (make-resource-pool (const 'resource) 1)))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (e)
(print-backtrace-and-exception/knots e)

View file

@ -2,7 +2,7 @@
(define thread-pool (make-fixed-size-thread-pool 1))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (exn)
(print-backtrace-and-exception/knots exn)

View file

@ -2,7 +2,7 @@
(run-fibers
(lambda ()
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (e)
(print-backtrace-and-exception/knots e)

View file

@ -7,7 +7,7 @@
;; To avoid the test hanging if there's an exception
(primitive-exit 1))
(lambda ()
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (e)
(print-backtrace-and-exception/knots e)

View file

@ -7,7 +7,7 @@
(+ 1 'a))) ; LAST BACKTRACE ENTRY HERE
'unreachable))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (exn)
(print-backtrace-and-exception/knots exn)

View file

@ -1,6 +1,6 @@
(use-modules (knots))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (exn)
(print-backtrace-and-exception/knots exn)

View file

@ -30,7 +30,7 @@
(define result
(run-fibers
(lambda ()
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (e)
(print-backtrace-and-exception/knots e)

View file

@ -1,6 +1,6 @@
(use-modules (knots))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (exn)

View file

@ -1,6 +1,6 @@
(use-modules (knots))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (exn)
(print-backtrace-and-exception/knots exn)

View file

@ -1,6 +1,6 @@
(use-modules (knots))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda _ #f)

View file

@ -14,7 +14,7 @@
#f)
'done))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (exn)
(print-backtrace-and-exception/knots exn)

View file

@ -14,7 +14,7 @@
#f)
'done))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (exn)
(print-backtrace-and-exception/knots exn)

View file

@ -1,6 +1,6 @@
(use-modules (knots))
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
;; FIRST BACKTRACE ENTRY: (with-exception-handler
(with-exception-handler
(lambda (exn)
(print-backtrace-and-exception/knots exn)