summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Makefile.am7
-rwxr-xr-xtest/runner.sh2
2 files changed, 3 insertions, 6 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 47227fc8..c676ed25 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -12,9 +12,4 @@
TESTS = runner.sh
-check_PROGRAMS = runner.beam
-
-CLEANFILES = test.ini
-
-runner.beam: runner.erl
- $(ERLC) $<
+CLEANFILES = runner.beam test.ini
diff --git a/test/runner.sh b/test/runner.sh
index e071ad63..e920090d 100755
--- a/test/runner.sh
+++ b/test/runner.sh
@@ -1,5 +1,7 @@
#!/bin/sh -e
+erlc runner.erl
+
erl -noshell -pa ../src/couchdb -pa ../src/mochiweb -eval "runner:run()"
cat ../share/www/script/couch.js ../share/www/script/couch_tests.js test.js | ../src/couchdb/couchjs -