Run when just required.

svn: r10162
This commit is contained in:
Sam Tobin-Hochstadt 2008-06-05 21:43:06 +00:00
parent 5a8bc6fabb
commit e9356d145d

View File

@ -225,8 +225,9 @@
other-tests
other-plt-tests
)))
(when (getenv "PLT_TESTS")
(unless (parameterize ([current-output-port (open-output-string)])
(= 0 (run-tests)))
(error "Match Tests did not pass.")))
(if (getenv "PLT_TESTS")
(unless (parameterize ([current-output-port (open-output-string)])
(= 0 (run-tests)))
(error "Match Tests did not pass."))
(run-tests))
)