I changed clojure.contrib.test-clojure so that it can be loaded without running tests. Now to run the tests from the repl, please use code like this:

        Clojure
        user=> (require 'clojure.contrib.test-clojure)
        nil
        user=> (clojure.contrib.test-clojure/run)
        Loading tests...
        [...]
        user=>

This allows the test driver to be compiled into clojure-contrib.jar and run standalone from the command line:

        % java -cp clojure.jar:clojure-contrib.jar clojure.contrib.test_clojure
        Loading tests...
        [...]
        %

Note: Compiling clojure-contrib.jar requires that it be built with access to clojure.jar via an ant command like this one:

        % cd <path to the top level of your clojure-contrib directory>
        ant -Dclojure.jar=<path to where your clojure.jar lives>/clojure.jar

--Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to