Skip to content

Commit

Permalink
Refactor test to run with swank-clojure-project structure. Also, move…
Browse files Browse the repository at this point in the history
… spec_helper.clj to test directory
  • Loading branch information
mudphone committed Dec 15, 2009
1 parent c03ff24 commit a4a3597
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion hbase-repl.sh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi
# You can probably leave the rest alone: # You can probably leave the rest alone:
LIB_DIR="${HBASE_RUNNER_HOME}/lib" LIB_DIR="${HBASE_RUNNER_HOME}/lib"
CP_JARS="${LIB_DIR}/*" CP_JARS="${LIB_DIR}/*"
CP="${CP_JARS}:${HBASE_RUNNER_HOME}/src" CP="${CP_JARS}:${HBASE_RUNNER_HOME}/src:${HBASE_RUNNER_HOME}/test"


# Add extra classpath, if any -- for example the location of hbase-site.xml. # Add extra classpath, if any -- for example the location of hbase-site.xml.
if [ ! -z "${HBR_XCP}" ]; then if [ ! -z "${HBR_XCP}" ]; then
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions utils/spec_suite.clj
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,9 @@
(ns hbase-runner.hbase-repl-spec (ns hbase-runner.all-hbase-repl-spec
(:use hbase-runner.hbase-repl)) (:use [clojure.test :only [run-tests deftest is]])
(:use hbase-runner.hbase-repl)
(:use hbase-runner.spec-helper)
(:use hbase-runner.hbase-repl-spec))


(start-hbase-repl :test "hbr_spec") (start-hbase-repl :test "hbr_spec")


(load-file "src/hbase_runner/spec_helper.clj")
(load-file "test/hbase_runner/hbase_repl_spec.clj")

(run-tests) (run-tests)

0 comments on commit a4a3597

Please sign in to comment.