2 # Defines for Automake testing environment.
3 # Tom Tromey <tromey@cygnus.com>
5 # Ensure $srcdir set correctly.
6 test -f $srcdir/defs || {
7 echo "defs: installation error" 1>&2
11 # If srcdir is relative, we need to modify it.
21 rm -rf testSubDir > /dev/null 2>&1
25 # Build appropriate environment in test directory. Eg create
26 # configure.in, touch all necessary files, etc.
27 cat > configure.in << 'END'
38 # See how redirections should work.
39 test -z "$VERBOSE" && {
43 echo "=== Running test $0"
45 # See how Automake should be run. We put --foreign as the default
46 # strictness to avoid having to create lots and lots of files. A test
47 # can override this by specifying a different strictness.
48 AUTOMAKE="../../automake --amdir=$srcdir/.. --foreign"