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/Makefile.am | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 test/etap/Makefile.am (limited to 'test/etap/Makefile.am') diff --git a/test/etap/Makefile.am b/test/etap/Makefile.am new file mode 100644 index 00000000..03685d0e --- /dev/null +++ b/test/etap/Makefile.am @@ -0,0 +1,64 @@ +## Licensed under the Apache License, Version 2.0 (the "License"); you may not +## use this file except in compliance with the License. You may obtain a copy of +## the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +## WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +## License for the specific language governing permissions and limitations under +## the License. + +check_SCRIPTS = run +noinst_DATA = test_util.beam + +%.beam: %.erl + erlc $< + +run: run.tpl + sed -e "s|%abs_top_srcdir%|@abs_top_srcdir@|g" \ + -e "s|%abs_top_builddir%|@abs_top_builddir@|g" > \ + $@ < $< + chmod +x $@ + +CLEANFILES = run *.beam +DISTCLEANFILES = temp.* + +EXTRA_DIST = \ + run.tpl \ + 001-load.t \ + 002-erl-driver.t \ + 010-file-basics.t \ + 011-file-headers.t \ + 020-btree-basics.t \ + 021-btree-reductions.t \ + 030-doc-from-json.t \ + 031-doc-to-json.t \ + 040-util.t \ + 041-uuid-gen-seq.ini \ + 041-uuid-gen-utc.ini \ + 041-uuid-gen.t \ + 050-stream.t \ + 060-kt-merging.t \ + 061-kt-missing-leaves.t \ + 062-kt-remove-leaves.t \ + 063-kt-get-leaves.t \ + 064-kt-counting.t \ + 065-kt-stemming.t \ + 070-couch-db.t \ + 080-config-get-set.t \ + 081-config-override.1.ini \ + 081-config-override.2.ini \ + 081-config-override.t \ + 082-config-register.t \ + 083-config-no-files.t \ + 090-task-status.t \ + 100-ref-counter.t \ + 110-replication-httpc.t \ + 111-replication-changes-feed.t \ + 112-replication-missing-revs.t \ + 120-stats-collect.t \ + 121-stats-aggregates.cfg \ + 121-stats-aggregates.ini \ + 121-stats-aggregates.t -- cgit v1.2.3