adjust randomized racket machine tests to print to

stderr on failure and to not print anything on success
This commit is contained in:
Robby Findler 2013-01-29 06:55:47 -06:00
parent 28493dcc88
commit 32529d89c0

View File

@ -335,10 +335,10 @@
(match t (match t
[#t k] [#t k]
[(counterexample p) [(counterexample p)
(pretty-print p) (pretty-print p (current-error-port))
(exit 1)])) (exit 1)]))
(test (time (test-internal-properties/cycles #:attempts 4000 #:print? #f)) (test (time (test-internal-properties/cycles #:attempts 4000 #:print? #f))
(test (time (test-external-properties #:attempts 250 #:print? #f)) (test (time (test-external-properties #:attempts 250 #:print? #f))
(void)))) (void))))
(module+ main (main)) (module+ main (void (main)))