Skip to content

Commit

Permalink
instructions for running the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarthalloway committed Mar 24, 2010
1 parent b7cec28 commit 45d389d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
11 changes: 11 additions & 0 deletions README.markdown
Expand Up @@ -95,6 +95,16 @@ If you don't know emacs you may want to pick one of the choices above. The learn
* Making sure your emacs working directory is the labrepl, run `inferior-lisp`.
* If you want slime as well, run `slime-connect` and accept the defaults. You now have slime and inferior-lisp both working simultaneously.

# Running the Tests

## Maven

`mvn clojure:test`

## From Shell Script (Unix)

`script/test`

# Thanks for contributions and reviews from

* Aaron Bedra
Expand All @@ -105,4 +115,5 @@ If you don't know emacs you may want to pick one of the choices above. The learn
* Alex Ott




2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -25,8 +25,8 @@
<sourceDirectory>src</sourceDirectory>
</sourceDirectories>
<clojureOptions>-Xmx1G</clojureOptions>
<runWithTests>false</runWithTests>
<replScript>script/run.clj</replScript>
<testScript>script/test.clj</testScript>
</configuration>
</plugin>
</plugins>
Expand Down
2 changes: 1 addition & 1 deletion script/repl
Expand Up @@ -5,4 +5,4 @@ for f in lib/*.jar; do
CLASSPATH=$CLASSPATH:$f
done

java -Xmx1G -cp $CLASSPATH jline.ConsoleRunner clojure.main -e "(require 'labrepl) (set! *print-length* 100) (labrepl/-main)$LABREPL_SWANK" -r
java -Xmx1G -cp $CLASSPATH jline.ConsoleRunner clojure.main -i script/run.clj -r
2 changes: 1 addition & 1 deletion script/test
Expand Up @@ -5,4 +5,4 @@ for f in lib/*.jar; do
CLASSPATH=$CLASSPATH:$f
done

java $@ -Xmx1G -cp $CLASSPATH clojure.main -e "(use 'circumspec.runner) (run-tests-and-exit)"
java $@ -Xmx1G -cp $CLASSPATH clojure.main script/test.clj
2 changes: 2 additions & 0 deletions script/test.clj
@@ -0,0 +1,2 @@
(use 'circumspec.runner)
(run-tests-and-exit)

0 comments on commit 45d389d

Please sign in to comment.