There was a functionality in build.xml to run tests from the command
line. When you correctly set clojure.jar path, you could just do:

ant test_clojure

to run test-clojure tests. There is also:

ant test_contrib

which still works. "ant test_clojure" is broken by this change. (bad?
ok? don't know...)

Frantisek


On Feb 22, 8:36 pm, "Stephen C. Gilardi" <squee...@mac.com> wrote:
> 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
>
>  smime.p7s
> 3KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to