3 # Define SKIP_IF for compatibility with Autotest before 2.64
4 m4_ifndef([AT_SKIP_IF],
5 [m4_define([AT_SKIP_IF],
7 && exit 77 || exit 0], [0], [ignore], [ignore])])])
9 m4_divert_text([PREPARE_TESTS], [dnl
10 if test X"$RUNNER" != X; then
11 wrapper_dir=`pwd`/wrappers
12 rm -f "$wrapper_dir"/*
13 test -d "$wrapper_dir" || mkdir "$wrapper_dir"
16 test -d "$1" || return
17 for file in "$1"/*; do
18 if test -x "$file" && test -f "$file"; then
19 base=`basename $file $EXEEXT`
20 wrapper=$wrapper_dir/$base
21 if test ! -e "$wrapper"; then
22 echo "exec $RUNNER $file \"\$@\"" > $wrapper
29 save_IFS=$IFS; IFS=$PATH_SEPARATOR
30 for dir in $AUTOTEST_PATH; do
32 test X"$dir" = X && dir=.
38 wrap_dir "$abs_top_builddir/$dir"
39 wrap_dir "$abs_top_srcdir/$dir"
44 PATH=$wrapper_dir:$PATH