diff options
author | Freddy Vulto <fvulto@gmail.com> | 2010-11-12 23:35:36 +0100 |
---|---|---|
committer | Freddy Vulto <fvulto@gmail.com> | 2010-11-12 23:35:36 +0100 |
commit | c86b336769cdc025a63c13bf3448ce5d5019a563 (patch) | |
tree | cdf57784ed5c117415335d311edddc648899af65 /configure.ac | |
parent | 8f0055553bc15bb4aa31e6a32e0572949cffb6c3 (diff) | |
download | bash-completion-c86b336769cdc025a63c13bf3448ce5d5019a563.tar.gz |
(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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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]) |