You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/quad/qtest/paths-to-test.rkt

14 lines
378 B
Racket

#lang racket/base
(require racket/runtime-path)
(provide (all-defined-out))
(define-runtime-path here ".")
(define (test-paths)
(for/list ([test-path (in-directory here)]
#:when (regexp-match #rx"test-.*.rkt$" (path->string test-path)))
test-path))
(define (test-pdf-name path)
(path-add-extension (path-replace-extension path #".pdf") #"" #"-tester."))