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.
14 lines
378 B
Racket
14 lines
378 B
Racket
5 years ago
|
#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."))
|