diff options
author | Paul Joseph Davis <davisp@apache.org> | 2009-11-09 00:39:16 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2009-11-09 00:39:16 +0000 |
commit | e29a1924afe9e6051369f7bcbf44ccdf53de536a (patch) | |
tree | e9511858c1ca8faf7b051c38b712982cb051caba /test/etap/111-replication-changes-feed.t | |
parent | c114565bff170785c1352142dc1a28557a91dd97 (diff) |
Fixes 'make distcheck' to run the test suite.
Quite a few changes to the build system to handle VPATH builds appropriately as well as make the test suite know about them.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833951 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/etap/111-replication-changes-feed.t')
-rwxr-xr-x | test/etap/111-replication-changes-feed.t | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/etap/111-replication-changes-feed.t b/test/etap/111-replication-changes-feed.t index 10cea201..b03c1ac7 100755 --- a/test/etap/111-replication-changes-feed.t +++ b/test/etap/111-replication-changes-feed.t @@ -37,12 +37,15 @@ pause = 1, conn = nil }). + +config_files() -> + lists:map(fun test_util:build_file/1, [ + "etc/couchdb/default_dev.ini", + "etc/couchdb/local_dev.ini" + ]). + main(_) -> - code:add_patha("src/etap"), - code:add_pathz("src/couchdb"), - code:add_pathz("src/ibrowse"), - code:add_pathz("src/mochiweb"), - code:add_pathz("src/erlang-oauth"), + test_util:init_code_path(), etap:plan(13), case (catch test()) of @@ -55,9 +58,7 @@ main(_) -> ok. test() -> - couch_server_sup:start_link( - ["etc/couchdb/default_dev.ini", "etc/couchdb/local_dev.ini"] - ), + couch_server_sup:start_link(config_files()), ibrowse:start(), crypto:start(), |