From e29a1924afe9e6051369f7bcbf44ccdf53de536a Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Mon, 9 Nov 2009 00:39:16 +0000 Subject: 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 --- test/etap/020-btree-basics.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/etap/020-btree-basics.t') diff --git a/test/etap/020-btree-basics.t b/test/etap/020-btree-basics.t index 93a139fb..18c4a836 100755 --- a/test/etap/020-btree-basics.t +++ b/test/etap/020-btree-basics.t @@ -14,14 +14,13 @@ % License for the specific language governing permissions and limitations under % the License. -filename() -> "./test/etap/temp.020". +filename() -> test_util:build_file("test/etap/temp.020"). rows() -> 250. -record(btree, {fd, root, extract_kv, assemble_kv, less, reduce}). main(_) -> - code:add_patha("src/etap"), - code:add_pathz("src/couchdb"), + test_util:init_code_path(), etap:plan(48), case (catch test()) of ok -> -- cgit v1.2.3