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/update-tests.rkt

9 lines
343 B
Racket

#lang racket/base
(require quadwriter
"paths-to-test.rkt")
(for ([test-path (in-list (test-paths))])
(define-values (dir name _) (split-path test-path))
(displayln (path->string name))
(time (parameterize ([quadwriter-test-mode #t])
(render-pdf (dynamic-require test-path 'doc) (test-pdf-name test-path) test-path))))