From: Stefano Lattarini Date: Fri, 2 Sep 2011 15:46:41 +0000 (+0200) Subject: tests: avoid creating useless files in the `amhello' tests X-Git-Tag: ng-0.5a~89^2~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2db023c9918fa33de85cc818429c8b16f0ae6b9;p=thirdparty%2Fautomake.git tests: avoid creating useless files in the `amhello' tests * tests/amhello-binpkg.test: Define `$am_create_testdir' to "empty" before sourcing ./defs, to avoid bringing in unused auxiliary files. * tests/amhello-cflags.test: Likewise. * tests/amhello-cross-compile.test: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 79b36d225..d2771d91e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-09-02 Stefano Lattarini + + tests: avoid creating useless files in the `amhello' tests + * tests/amhello-binpkg.test: Define `$am_create_testdir' to + "empty" before sourcing ./defs, to avoid bringing in unused + auxiliary files. + * tests/amhello-cflags.test: Likewise. + * tests/amhello-cross-compile.test: Likewise. + 2011-09-02 Stefano Lattarini coverage: vala support failing for VPATH from-scratch builds diff --git a/tests/amhello-binpkg.test b/tests/amhello-binpkg.test index bd1e50bf5..2d57e8814 100755 --- a/tests/amhello-binpkg.test +++ b/tests/amhello-binpkg.test @@ -17,6 +17,7 @@ # Test an example from the manual about the `amhello' package: # using DESTDIR to build simple, no-frills binary packages. +am_create_testdir=empty . ./defs || Exit 1 cp "$testsrcdir"/../doc/amhello-1.0.tar.gz . \ diff --git a/tests/amhello-cflags.test b/tests/amhello-cflags.test index efff153ff..3ec54b8bb 100755 --- a/tests/amhello-cflags.test +++ b/tests/amhello-cflags.test @@ -18,6 +18,7 @@ # using VPATH builds to configure the same package with different # options. +am_create_testdir=empty required=gcc . ./defs || Exit 1 diff --git a/tests/amhello-cross-compile.test b/tests/amhello-cross-compile.test index bc31243aa..a4a21d1fc 100755 --- a/tests/amhello-cross-compile.test +++ b/tests/amhello-cross-compile.test @@ -17,6 +17,7 @@ # Test an example from the manual about the `amhello' package: # cross-compiling a package from Linux/Unix to MinGW. +am_create_testdir=empty required=i586-mingw32msvc-gcc . ./defs || Exit 1