try to make this test's timing better behaved
This commit is contained in:
parent
cd73a8b02a
commit
d53d3c3528
|
@ -186,11 +186,13 @@ Errors/exceptions and other kinds of control?
|
|||
(printf "DrDr Ignore! random-seed ~s\n" seed)
|
||||
(random-seed seed))
|
||||
|
||||
(define start-time (current-seconds))
|
||||
(let loop ([n 32])
|
||||
(unless (zero? n)
|
||||
(printf ".") (flush-output)
|
||||
(let ([p (gen-prog)])
|
||||
;(pretty-print p)
|
||||
(eval p (namespace-anchor->namespace ns-here)))
|
||||
(loop (- n 1))))
|
||||
(when (< (- (current-seconds) start-time) 120)
|
||||
(printf ".") (flush-output)
|
||||
(let ([p (gen-prog)])
|
||||
;(pretty-print p)
|
||||
(eval p (namespace-anchor->namespace ns-here)))
|
||||
(loop (- n 1)))))
|
||||
(newline)
|
||||
|
|
Loading…
Reference in New Issue
Block a user