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/010-file-basics.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/etap/010-file-basics.t') diff --git a/test/etap/010-file-basics.t b/test/etap/010-file-basics.t index b6c95a6f..09b2f2b1 100755 --- a/test/etap/010-file-basics.t +++ b/test/etap/010-file-basics.t @@ -12,11 +12,10 @@ % License for the specific language governing permissions and limitations under % the License. -filename() -> "./test/etap/temp.010". +filename() -> test_util:build_file("test/etap/temp.010"). main(_) -> - code:add_patha("src/etap"), - code:add_pathz("src/couchdb"), + test_util:init_code_path(), etap:plan(16), case (catch test()) of ok -> -- cgit v1.2.3