Skip to content

Commit

Permalink
Experiment for empty xref-index on CI + Racket 6.12
Browse files Browse the repository at this point in the history
  • Loading branch information
greghendershott committed Oct 7, 2024
1 parent 78a5f5a commit c89e2fb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions racket/scribble.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,15 @@
[(cons term _) term]))))

(module+ test
;; Experimental hack to debug test failures happening only on CI,
;; where xref-index seems to return an empty list, but only for
;; Racket 6.12 (not stable or snapshot versions).
(when (getenv "CI")
(let loop ()
(when (null? (xref-index (load-collections-xref)))
(displayln "Waiting 5 seconds for xref-index...")
(sleep 5)
(loop))))
(define older?
(not (safe-dynamic-require 'scribble/manual-struct 'index-desc?)))
(define (check-lookup term kind libs fams)
Expand Down

0 comments on commit c89e2fb

Please sign in to comment.