summaryrefslogtreecommitdiffstats
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-09-18 13:05:13 +0200
committerPavel Raiskup <praiskup@redhat.com>2014-09-18 13:11:11 +0200
commitfc976d7de6c88cae8c4ac9946f963f5e736a17ea (patch)
tree2a882ff27b64ddabd7348109927fd064ff27b09c /tests/testsuite.at
parentf6ce954de17d1d7ea312e610231e0196cf9c0ffb (diff)
downloadpostgresql-setup-fc976d7de6c88cae8c4ac9946f963f5e736a17ea.tar.gz
postgresql-setup-fc976d7de6c88cae8c4ac9946f963f5e736a17ea.tar.xz
postgresql-setup-fc976d7de6c88cae8c4ac9946f963f5e736a17ea.zip
configury: fix make distcheck errors
* Makefile.am (EXTRA_DIST): Always use $(srcdir) when referencing wildcards. (install-data-hook): Return true even for non-root make install. (DISTCLEANFILES): Mention ChangeLog. * configure.ac (TEST_GEN_FILES_LIST): Only use the basename. * tests/Makefile.am (CHECK_DEPS): Fix reference to TEST_GEN_FILES_LIST. (DISTCLEANFILES): Mention also atconfig and atlocal. * tests/testsuite.at: Fix reference to $TEST_GEN_FILES_LIST, use always $abs_top_builddir when referencing built files.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 9d18b29..81f2b2f 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -2,13 +2,13 @@ AT_INIT
AT_COLOR_TESTS
AT_SETUP([Check files are generated correctly])
-AT_CHECK([file_list=$top_srcdir/$at_testdir/$TEST_GEN_FILES_LIST
+AT_CHECK([file_list=$abs_top_builddir/$TEST_GEN_FILES_LIST
test -f "$file_list" || { echo "no such file '$file_list'" ; exit 1 ; }
pattern='@[[a-zA-Z0-9_]]*@'
while read file; do
- file=${top_srcdir}/$file
+ file=$abs_top_builddir/$file
grep $pattern $file && echo "file $file is incomplete" && exit 1
done < $file_list