+2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
+
+ tests: more uses of `$top_testsrcdir', in the `amhello' tests
+ * tests/amhello-binpkg.test: Use `$top_testsrcdir' instead
+ of `$testsrcdir/..'.
+ * tests/amhello-cflags.test: Likewise.
+ * tests/amhello-cross-compile.test: Likewise.
+
2011-09-02 Stefano Lattarini <stefano.lattarini@gmail.com>
tests: avoid creating useless files in the `amhello' tests
am_create_testdir=empty
. ./defs || Exit 1
-cp "$testsrcdir"/../doc/amhello-1.0.tar.gz . \
+cp "$top_testsrcdir"/doc/amhello-1.0.tar.gz . \
|| fatal_ "cannot get amhello tarball"
gzip -dc amhello-1.0.tar.gz | tar xf -
required=gcc
. ./defs || Exit 1
-cp "$testsrcdir"/../doc/amhello-1.0.tar.gz . \
+cp "$top_testsrcdir"/doc/amhello-1.0.tar.gz . \
|| fatal_ "cannot get amhello tarball"
gzip -dc amhello-1.0.tar.gz | tar xf -
required=i586-mingw32msvc-gcc
. ./defs || Exit 1
-cp "$testsrcdir"/../doc/amhello-1.0.tar.gz . \
+cp "$top_testsrcdir"/doc/amhello-1.0.tar.gz . \
|| fatal_ "cannot get amhello tarball"
host=i586-mingw32msvc
-build=`"$testsrcdir"/../lib/config.guess` && test -n "$build" \
+build=`"$top_testsrcdir"/lib/config.guess` && test -n "$build" \
|| fatal_ "cannot guess build platform"
case $build in *mingw*) skip_ "build system is MinGW too";; esac