aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.xml5
-rw-r--r--src/clojure/contrib/test_contrib.clj5
2 files changed, 6 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index f7ba52b7..dfdcd9d2 100644
--- a/build.xml
+++ b/build.xml
@@ -69,14 +69,15 @@
<target name="test" depends="test_clojure,test_contrib,test_datalog"
description="Run all tests"/>
- <target name="check_hasclojure" depends="init"
+ <target name="check_hasclojure"
description="Print a warning message if clojure.jar is undefined"
unless="hasclojure">
<echo>WARNING: You have not defined a path to clojure.jar so I can't compile files.
This will cause some parts of clojure.contrib not to work (e.g., pretty print).
- To enable compiling run "ant -Dclojure.jar=&lt;...path to clojure.jar..&gt;"
+ To enable compiling, run "ant -Dclojure.jar=&lt;...path to clojure.jar..&gt;"
</echo>
</target>
+
<target name="compile_clojure" depends="init,check_hasclojure"
description="Compile Clojure sources."
if="hasclojure">
diff --git a/src/clojure/contrib/test_contrib.clj b/src/clojure/contrib/test_contrib.clj
index 88e2b42e..60b216c7 100644
--- a/src/clojure/contrib/test_contrib.clj
+++ b/src/clojure/contrib/test_contrib.clj
@@ -16,7 +16,8 @@
(:use [clojure.contrib.test-is :only (run-tests)])
(:gen-class))
-(def test-names [:complex-numbers :monads :str-utils :shell-out :test-graph :test-dataflow :test-java-utils])
+(def test-names [:complex-numbers :monads :pprint.pretty :pprint.cl-format
+ :str-utils :shell-out :test-graph :test-dataflow :test-java-utils])
(def test-namespaces
(map #(symbol (str "clojure.contrib.test-contrib." (name %)))
@@ -35,4 +36,4 @@
(run)
(System/exit 0))
-(run) \ No newline at end of file
+(run)