Hi Phil,

It does work now:

user=>
user=> (load-file "/home/stephane/prjode/src/konato/ode/tests/
test_ode.clj")
(load-file "/home/stephane/prjode/src/konato/ode/tests/test_ode.clj")
nil
user=> (run-tests 'konato.ode.tests.test-ode)
(run-tests 'konato.ode.tests.test-ode)

Testing konato.ode.tests.test-ode

Ran 9 tests containing 21 assertions.
0 failures, 0 errors.
nil
user=>

Here is my corrected clj-build script:

#!/bin/sh -e
CLJ_ROOT=/home/stephane/src

export CLJ_ROOT

cd $CLJ_ROOT
rm -dfr clojure
rm -dfr clojure-contrib
rm -dfr clojure-mode
rm -dfr swank-clojure
rm -dfr slime
svn checkout http://clojure.googlecode.com/svn/trunk/ clojure
git clone git://github.com/technomancy/clojure-mode.git
git clone git://github.com/jochu/swank-clojure.git
svn checkout http://clojure-contrib.googlecode.com/svn/trunk/ clojure-
contrib
cvs -d :pserver:anonymous:anonym...@common-lisp.net:/project/slime/
cvsroot co slime
cd clojure
ant
cd -
cd clojure-contrib
ant -Dclojure.jar=/home/stephane/src/clojure/clojure.jar

Now, I have a little problem with the eval line but will continue my
research.
Thank you very much,

Stephane __/)


On May 7, 12:01 pm, Phil Hagelberg <p...@hagelb.org> wrote:
> stephaner <stepha...@gmail.com> writes:
> > Current finding, run-tests works in a shell with a REPL and in vim-
> > clojure:
> > Testing konato.ode.tests.test-ode
>
> > Ran 9 tests containing 21 assertions.
> > 0 failures, 0 errors.
> > nil
>
> > But still doesn't work on Emacs.
>
> It sounds like you're using an old version of clojure-test-mode. It
> actually wraps the "report" function of test-is to give a better summary
> from within Emacs. But that function changed in a recent test-is
> revision (a couple weeks before 1.0 was released) so the modifications
> that the old clojure-test-mode does won't work.
>
> I've updated clojure-test-mode so it works with the latest test-is. Just
> grab the latest from my repository:
>
>  http://github.com/technomancy/clojure-mode
>
> If you installed via ELPA, I haven't gotten my changes to their servers
> yet, so you'll have to remove the ELPA-installed copy and install
> manually for now.
>
> Sorry for the confusion.
>
> -Phil
--~--~---------~--~----~------------~-------~--~----~
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