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/081-config-override.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/081-config-override.t')
-rwxr-xr-x | test/etap/081-config-override.t | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/etap/081-config-override.t b/test/etap/081-config-override.t index e96e3c23..01f8b4c2 100755 --- a/test/etap/081-config-override.t +++ b/test/etap/081-config-override.t @@ -14,16 +14,16 @@ % the License. default_config() -> - "etc/couchdb/default_dev.ini". + test_util:build_file("etc/couchdb/default_dev.ini"). local_config_1() -> - "test/etap/081-config-override.1.ini". + test_util:source_file("test/etap/081-config-override.1.ini"). local_config_2() -> - "test/etap/081-config-override.2.ini". + test_util:source_file("test/etap/081-config-override.2.ini"). local_config_write() -> - "test/etap/temp.081". + test_util:build_file("test/etap/temp.081"). % Run tests and wait for the config gen_server to shutdown. run_tests(IniFiles, Tests) -> @@ -39,8 +39,7 @@ run_tests(IniFiles, Tests) -> end. main(_) -> - code:add_patha("src/etap"), - code:add_pathz("src/couchdb"), + test_util:init_code_path(), etap:plan(17), case (catch test()) of |