Hi, Am 04.10.2009 um 11:11 schrieb Mike Mazur:
Clojure=> (binding [*test-out* *out*] (run-tests)) Is the mechanism that configures the *out* stream exposed somehow? Can I tell it to process *test-out* as well?
Well. This is exactly the mechanism to process the *test-out*. In the future, VC will use the recently added thread binding interface. Then you can do (set! *test-out* *out*) to set this permanently. Until then, a workaround would be to define your own runtests.
(defn my-run-tests [] (binding [*test-out* *out*] (run-tests)))Be advised, that Vim will hang until the tests are completed. So think twice before you fire off the 3h test suite. ;)
Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature