Changed the interface for running single optimizer tests.

This commit is contained in:
Vincent St-Amour 2010-10-12 15:56:00 -04:00
parent 2c4d6fbb01
commit f3ae9c73b0

View File

@ -84,7 +84,7 @@
(let ((n-failures
(if to-run
(if (test (format "tests/~a.rkt" to-run)) 0 1)
(if (test to-run) 0 1)
(for/fold ((n-failures 0))
((gen (in-directory tests-dir)))
(+ n-failures (if (test gen) 0 1))))))