Hardcoding "$builddir/t" doesn't work at all if VPATH builds need to
run programs in "$srcdir", which we do now need. Generally PATH
lookups are more flexible in Autotest and work out much better.
Technically this is a change in behaviour so some downstream projects
may need to be updated.
scripts/bake-config.awk scripts/gen-options.awk \
scripts/gen-strtab.awk scripts/gen-tree.awk scripts/join.awk \
scripts/pe-subsys.awk src/copysym.h src/help.h src/pack.h \
- src/tap.h t/getopt/getopt.h t/nls/gettext.h t/nls/mbswidth.h \
- tests/data/gnulib.mk
+ src/tap.h t/tapcheck.sh t/getopt/getopt.h t/nls/gettext.h \
+ t/nls/mbswidth.h tests/data/gnulib.mk
check_LIBRARIES = t/libdummy.a t/libempty.a
AC_CHECK_FUNCS_ONCE([wcwidth])
AM_CONDITIONAL([HAVE_WCWIDTH], [test x"$ac_cv_func_wcwidth" = x"yes"])
-AC_CONFIG_TESTDIR([.])
+AC_CONFIG_TESTDIR([.], [t:$srcdir/t])
DX_PROG_AUTOTEST_AM
AC_CACHE_CHECK([for struct option in <getopt.h>], [dx_cv_have_struct_option],
# Run a test program, and, if prove is installed, use it to interpret the
# TAP-formatted output.
test_run_tap () {
- program=$[1]; shift
+ program=$[1]
- "$builddir/t/$program" "$[@]" >"$program.tap"
+ "$[@]" >"$program.tap"
status=$?
cat "$program.tap"
# Older versions of prove do not support the -e option so the