Unbreak stepper tests.

... via a spectacularly ugly hack.
This commit is contained in:
Mike Sperber 2010-07-14 14:07:13 +02:00
parent 90b586365f
commit de94854243

View File

@ -3,9 +3,12 @@
(require "through-tests.ss" (require "through-tests.ss"
"test-engine.ss") "test-engine.ss")
(parameterize ([display-only-errors #t] (let ((outer-namespace (current-namespace)))
[current-output-port (open-output-string)] (parameterize ([display-only-errors #t]
[current-namespace (make-base-namespace)]) [current-output-port (open-output-string)]
(if (run-all-tests-except '(bad-and bad-cons check-error begin-let-bug prims qq-splice time set! local-set! lazy1 lazy2 lazy3)) [current-namespace (make-base-namespace)])
(exit 0) ;; make sure the tests' print-convert sees the teaching languages' properties
(exit 1))) (namespace-attach-module outer-namespace 'mzlib/pconvert-prop (current-namespace))
(if (run-all-tests-except '(bad-and bad-cons check-error begin-let-bug prims qq-splice time set! local-set! lazy1 lazy2 lazy3))
(exit 0)
(exit 1))))