Running late for work, but quickly, the plugin searches for namespaces
and generates a run-test.clj file looking like:

http://gist.github.com/326972

which is run.  Interesting, just looking at that I see for some reason
"(require 'clojure.contrib.test-macro-utils)" is duplicated (and also
duplicated on the call to (run-tests), and also, looking at the test
output:

Testing clojure.contrib.test-lazy-seqs

Testing clojure.contrib.test-macro-utils

Testing clojure.contrib.test-macro-utils

FAIL in (symbol-test) (run-test7600134492565165178.clj:41)
expected: (= (macroexpand (quote (with-symbol-macros (+ 1 sum-2-3))))
(quote (do (+ 1 (plus 2 3)))))
  actual: (not (= (do (+ 1 sum-2-3)) (do (+ 1 (plus 2 3)))))

FAIL in (symbol-test) (run-test7600134492565165178.clj:41)
expected: (= (macroexpand (quote (macrolet [(plus [a b]
(clojure.core/seq (clojure.core/concat (clojure.core/list (quote
clojure.core/+)) (clojure.core/list a) (clojure.core/list b))))] (+ 1
sum-2-3)))) (quote (do (+ 1 (clojure.core/+ 2 3)))))
  actual: (not (= (do (+ 1 sum-2-3)) (do (+ 1 (clojure.core/+ 2 3)))))

Testing clojure.contrib.test-math

Testing clojure.contrib.test-miglayout


This shows the first run of clojure.contrib.test-macro-utils passing,
and the duplicate/second invocation failing.

I guess there's something strange happening on the second run?

I'll go hunt down why I'm getting duplicate entries in the first place too.

Mark



-- 
Pull me down under...

On Tue, Mar 9, 2010 at 8:53 PM, Konrad Hinsen
<konrad.hin...@fastmail.net> wrote:
> I wrote that code, so perhaps I can contribute to solving that problem, but
> unfortunately I don't know anything at all about the Maven plugin and what
> it does to run tests.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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