report errors in the same order they happened

svn: r3664
This commit is contained in:
Eli Barzilay 2006-07-09 21:04:15 +00:00
parent b060cda4a4
commit eb5963905c

View File

@ -276,7 +276,7 @@ transcript.
(if ok?
(printf "Passed all tests.\n")
(begin (printf "Errors were:\n(Section (got expected (call)))\n")
(for-each (lambda (l) (printf "~s\n" l)) errs)
(for-each (lambda (l) (printf "~s\n" l)) (reverse errs))
(when final? (exit 1))))
(when final? (exit (if ok? 0 1)))
(printf "(Other messages report successful tests of~a.)\n"