There was an error while loading. Please reload this page.
1 parent 760a672 commit 6789181Copy full SHA for 6789181
1 file changed
redex-test/redex/tests/ryr-test.rkt
@@ -2,6 +2,7 @@
2
(require net/url
3
racket/port
4
racket/file
5
+ racket/format
6
file/gunzip
7
file/untar)
8
@@ -39,13 +40,18 @@
39
40
#:key path->string))
41
42
(for ([file (in-list racket-files)])
- (printf "running ~a\n" file)
43
+ (define start-time (current-process-milliseconds))
44
+ (printf "starting ~a\n" file)
45
(flush-output)
46
(let/ec k
47
(parameterize ([error-escape-handler (λ args (k (void)))])
48
(dynamic-require file #f)))
49
(flush-output (current-error-port))
- (flush-output))
50
+ (flush-output)
51
+ (printf "finished ~a, took ~a seconds\n"
52
+ file
53
+ (~r (/ (min 0 (- (current-process-milliseconds) start-time)) 1000)
54
+ #:precision 2)))
55
56
(delete-directory/files tmp-dir)
57
0 commit comments