summaryrefslogtreecommitdiff
path: root/testsuite/tools
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-07-20 23:54:39 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-07-21 00:19:10 -0400
commitdee75bce2dc1cede3d4da79507cb20e6e08a7fdc (patch)
treebddccdb303b63841b28772b97e456e7260d55e49 /testsuite/tools
parent8102425f039536afa7c850fb239688a01e397380 (diff)
downloadgtk+-dee75bce2dc1cede3d4da79507cb20e6e08a7fdc.tar.gz
Fix distcheck
Makefile.decl does not work well with scripts that stay in srcdir, so generate test-simplify from test-simplify.in, just os that it ends up in builddir.
Diffstat (limited to 'testsuite/tools')
-rw-r--r--testsuite/tools/Makefile.am6
-rwxr-xr-xtestsuite/tools/test-simplify.in (renamed from testsuite/tools/test-simplify)0
2 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/tools/Makefile.am b/testsuite/tools/Makefile.am
index 786bcccabb..c0fc0c3cdd 100644
--- a/testsuite/tools/Makefile.am
+++ b/testsuite/tools/Makefile.am
@@ -15,7 +15,7 @@ test_simplify = \
EXTRA_DIST += \
$(test_simplify) \
- test-simplify \
+ test-simplify.in \
$(NULL)
TESTS_ENVIRONMENT = \
@@ -25,6 +25,9 @@ TEST_PROGS += \
test-simplify \
$(NULL)
+test-simplify:test-simplify.in
+ $(AM_V_GEN) cp $< $@
+
if BUILDOPT_INSTALL_TESTS
insttestdir = $(libexecdir)/installed-tests/$(PACKAGE)
insttest_SCRIPTS = $(TEST_PROGS)
@@ -39,6 +42,7 @@ test-simplify.test: test-simplify Makefile
test_files = $(TEST_PROGS:=.test)
DISTCLEANFILES = \
+ test-simplify \
$(test_files) \
$(NULL)
diff --git a/testsuite/tools/test-simplify b/testsuite/tools/test-simplify.in
index 2de4366b16..2de4366b16 100755
--- a/testsuite/tools/test-simplify
+++ b/testsuite/tools/test-simplify.in