Skip to content

Commit

Permalink
Introduce a new envvar to set a longer timeout for Debian buildds
Browse files Browse the repository at this point in the history
* Some of the Debian supported architectures are very slow and
requires a longer timeout for some of the tests to finish.
  • Loading branch information
manphiz committed Jan 18, 2025
1 parent 9e6ea1f commit 9b2abd1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/racket-tests.el
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,16 @@
(defconst ci-p (getenv "CI")
"Is there an environment variable saying we're running on CI?")

(defconst racket-tests/timeout (if ci-p 60 10))
(defconst debian-buildd-p (getenv "DEBIAN_BUILDD")
"Is there an environment variable saying we're running on Debian buildd?")

(defconst racket-tests/timeout
(cond
;; Some Debian supported architectures are very slow and requires
;; a longer timeout for some of the tests to finish.
(debian-buildd-p 900)
(ci-p 60)
(t 10)))

(defun racket-tests/type (typing)
(let ((blink-matching-paren nil)) ;suppress "Matches " messages
Expand Down

0 comments on commit 9b2abd1

Please sign in to comment.