Remove Guile line numbers from backtrace tests
All checks were successful
/ test (push) Successful in 4s
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:
parent
33db002464
commit
f203a8933a
14 changed files with 14 additions and 14 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let ((cache (make-fixed-size-resource-pool
|
(let ((cache (make-fixed-size-resource-pool
|
||||||
(list (open-input-string "fake")))))
|
(list (open-input-string "fake")))))
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (e)
|
(lambda (e)
|
||||||
(print-backtrace-and-exception/knots e)
|
(print-backtrace-and-exception/knots e)
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
(run-fibers
|
(run-fibers
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let ((pool (make-resource-pool (const 'resource) 1)))
|
(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
|
(with-exception-handler
|
||||||
(lambda (e)
|
(lambda (e)
|
||||||
(print-backtrace-and-exception/knots e)
|
(print-backtrace-and-exception/knots e)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
(define thread-pool (make-fixed-size-thread-pool 1))
|
(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
|
(with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
(print-backtrace-and-exception/knots exn)
|
(print-backtrace-and-exception/knots exn)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
(run-fibers
|
(run-fibers
|
||||||
(lambda ()
|
(lambda ()
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (e)
|
(lambda (e)
|
||||||
(print-backtrace-and-exception/knots e)
|
(print-backtrace-and-exception/knots e)
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
;; To avoid the test hanging if there's an exception
|
;; To avoid the test hanging if there's an exception
|
||||||
(primitive-exit 1))
|
(primitive-exit 1))
|
||||||
(lambda ()
|
(lambda ()
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (e)
|
(lambda (e)
|
||||||
(print-backtrace-and-exception/knots e)
|
(print-backtrace-and-exception/knots e)
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
(+ 1 'a))) ; LAST BACKTRACE ENTRY HERE
|
(+ 1 'a))) ; LAST BACKTRACE ENTRY HERE
|
||||||
'unreachable))
|
'unreachable))
|
||||||
|
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
(print-backtrace-and-exception/knots exn)
|
(print-backtrace-and-exception/knots exn)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
(use-modules (knots))
|
(use-modules (knots))
|
||||||
|
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
(print-backtrace-and-exception/knots exn)
|
(print-backtrace-and-exception/knots exn)
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
(define result
|
(define result
|
||||||
(run-fibers
|
(run-fibers
|
||||||
(lambda ()
|
(lambda ()
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (e)
|
(lambda (e)
|
||||||
(print-backtrace-and-exception/knots e)
|
(print-backtrace-and-exception/knots e)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
(use-modules (knots))
|
(use-modules (knots))
|
||||||
|
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
|
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
(use-modules (knots))
|
(use-modules (knots))
|
||||||
|
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
(print-backtrace-and-exception/knots exn)
|
(print-backtrace-and-exception/knots exn)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
(use-modules (knots))
|
(use-modules (knots))
|
||||||
|
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
|
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda _ #f)
|
(lambda _ #f)
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
#f)
|
#f)
|
||||||
'done))
|
'done))
|
||||||
|
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
(print-backtrace-and-exception/knots exn)
|
(print-backtrace-and-exception/knots exn)
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
#f)
|
#f)
|
||||||
'done))
|
'done))
|
||||||
|
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
(print-backtrace-and-exception/knots exn)
|
(print-backtrace-and-exception/knots exn)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
(use-modules (knots))
|
(use-modules (knots))
|
||||||
|
|
||||||
;; FIRST BACKTRACE ENTRY: 1762:12 (with-exception-handler
|
;; FIRST BACKTRACE ENTRY: (with-exception-handler
|
||||||
(with-exception-handler
|
(with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
(print-backtrace-and-exception/knots exn)
|
(print-backtrace-and-exception/knots exn)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue