From c86b336769cdc025a63c13bf3448ce5d5019a563 Mon Sep 17 00:00:00 2001 From: Freddy Vulto Date: Fri, 12 Nov 2010 23:35:36 +0100 Subject: (testuite) Fix tests to run with autotools' make distcheck File locations are prefixed with `$::srcdir' so that `make distcheck' can execute the test suite using a relative path. The current working directory is removed from the test-suite-bash-prompt. Furthermore, no more dynamic creation of files in dir $::srcdir/fixtures since this dir is read-only during `make distcheck'. Instead create dynamic files in $TESTDIR/tmp The test suite uses these "directory" variables tcl bash description ------------ ----------- ------------------------------------ $::srcdir $SRCDIR where `fixtures' reside, relative $::srcdirabs $SRCDIRABS where `fixtures' reside, absolute $::TESTDIR $TESTDIR where `runtest' is invoked, absolute --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b444e7a8..5e3265e6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_PREREQ([2.59]) AC_INIT([bash-completion], [1.99]) -AM_INIT_AUTOMAKE([foreign dejagnu dist-bzip2 no-dist-gzip -Wall -Werror]) +AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip -Wall -Werror]) AC_SUBST(bashcompdir, $sysconfdir/bash_completion.d) AC_SUBST(helpersdir, $sysconfdir/bash_completion.d/helpers) AC_CONFIG_FILES([Makefile completions/Makefile completions/helpers/Makefile test/Makefile]) -- cgit v1.2.1