diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-08 22:08:18 -0500 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2014-09-16 20:18:03 +0100 |
commit | 9364dff5c20e9e8c18f7f20ee1c92463e9e9c8a7 (patch) | |
tree | ec2c82f16aa0fa62991ddc528180f96610151f77 | |
parent | 64177777165d9684bafbfa946abd126f7ebff11f (diff) | |
download | libevent-baserock/release-2.0.21-stable.tar.gz |
Avoid using top_srcdir in TESTS-new automakes do not like thisbaserock/release-2.0.21-stable
-rw-r--r-- | test/Makefile.am | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index b10c41a8..0253a491 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -19,7 +19,14 @@ endif EXTRA_PROGRAMS = regress noinst_HEADERS = tinytest.h tinytest_macros.h regress.h tinytest_local.h -TESTS = $(top_srcdir)/test/test.sh +# We need to copy this file, since automake doesn't want us to use top_srcdir +# in TESTS. +TESTS = test-script.sh + +test-script.sh: test.sh + cp $< $@ + +DISTCLEANFILES = test-script.sh BUILT_SOURCES = if BUILD_REGRESS @@ -91,7 +98,7 @@ rpcgen-attempted: $(srcdir)/regress.rpc $(srcdir)/../event_rpcgen.py $(srcdir)/r CLEANFILES = rpcgen-attempted -DISTCLEANFILES = *~ +DISTCLEANFILES += *~ verify: check |