summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2008-10-23 15:04:36 +0000
committerNoah Slater <nslater@apache.org>2008-10-23 15:04:36 +0000
commit863bd56a3dcdf4d28637fd02de2f79bb25a51906 (patch)
tree4af3e20950ded101020d36c39aee27a4e1e0aa26 /test
parent3c9fd44fc9c33c9e2c485c3b24f80fc341c9a14d (diff)
moved erlang compilation out of check_PROGRAMS
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@707385 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-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 -