summaryrefslogtreecommitdiff
path: root/tests/remake-subdir-gnu.test
Commit message (Collapse)AuthorAgeFilesLines
* tests: prefer 'configure.ac' over 'configure.in'Stefano Lattarini2012-02-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, our testsuite now uses 'configure.ac' as the name for the typical autoconf input, instead of the obsolescent 'configure.in' (which has been deprecated for several years, at least since autoconf 2.50). Most of the test cases changed by this commit have been automatically modified with this sed command (using GNU sed): sed -i 's/\<configure\(\\\?\)\.in\>/configure\1.ac/g' * syntax-checks.mk (sc_tests_no_configure_in): New syntax check. (syntax_check_rules): Add it. * tests/defs: Create stub for autoconf input in 'configure.ac', not in 'configure.in'. Adjust comments. ($AUTOCONF, $AUTOHEADER, $AUTORECONF): Remove workaround for the infamous debian autoconf wrapper: we don't need such workaround anymore now that we name our autoconf input as 'configure.ac'. For more information, see commit v1.11-564-g63da492 "test defs: hack to support autoconf-wrapper programs" of 16-12-2011. * tests/README: Use 'configure.ac', not 'configure.in'. * Many many tests: Likewise. * tests/backcompat3.test: Adjust to avoid spurious failures. * tests/backcompat5.test: Likewise. * tests/missing6.test: Likewise. * tests/backcompat6.test: Likewise, and extend a bit since we are at it.
* maint: run "make update-copyright"Stefano Lattarini2012-02-161-1/+1
|
* tests: remove redundant settings of `errexit' shell flagStefano Lattarini2011-07-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/amhello-binpkg.test: Do not set the `errexit' shell flag, as it is already set by `tests/defs'. * tests/amhello-cflags.test: Likewise. * tests/amhello-cross-compile.test: Likewise. * tests/ansi2knr-deprecation.test: Likewise. * tests/autodist-no-duplicate.test: Likewise. * tests/distcheck-configure-flags-am.test: Likewise. * tests/distcheck-configure-flags-subpkg.test: Likewise. * tests/distcheck-configure-flags.test: Likewise. * tests/distcheck-hook.test: Likewise. * tests/distcheck-hook2.test: Likewise. * tests/parallel-tests-am_tests_environment.test: Likewise. * tests/parallel-tests-harderror.test: Likewise. * tests/parallel-tests-log-compiler-example.test: Likewise. * tests/parallel-tests-log-override-1.test: Likewise. * tests/parallel-tests-log-override-2.test: Likewise. * tests/parallel-tests-log-override-recheck.test: Likewise. * tests/primary-prefix-couples-documented-valid.test: Likewise. * tests/primary-prefix-couples-force-valid.test: Likewise. * tests/primary-prefix-invalid-couples.test: Likewise. * tests/primary-prefix-valid-couples.test: Likewise. * tests/remake-subdir-from-subdir.test: Likewise. * tests/remake-subdir-gnu.test: Likewise. * tests/remake-subdir-long-time.test: Likewise. * tests/remake-subdir.test: Likewise. * tests/remake-subdir2.test: Likewise. * tests/silent-configsite.test: Likewise. * tests/tests-environment-backcompat.test: Likewise.
* tests: don't require GNU make where it's not strictly neededStefano Lattarini2011-06-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/autohdr3.test: Rewrite to be stricter when make is GNU make. Drop the requirement of GNU make. * tests/aclocal5.test: Drop GNU make requirement, it's not truly needed. Add reference to similar tests `remake-subdir*.test'. * remake-subdir-gnu.test, remake-subdir-from-subdir.test, remake-subdir.test, remake-subdir2.test: Add reference to each other, and to related test `aclocal5.test'. * tests/aclocal6.test: Drop GNU make requirement, it's not truly needed. * tests/confh6.test: Likewise. * tests/lex3.test: Likewise. * tests/remake11.test: Likewise. * tests/subdir5.test: Likewise. * tests/subdir8.test: Likewise. * tests/werror2.test: Likewise. * tests/conff.test: Likewise, and ensure verbose printing of captured make output. * tests/lex5.test: Tweak so that GNU make is no more required. * tests/version7.test: Likewise. * tests/maken2.test: Add explicative comment for why this test required GNU make. * tests/maken4.test: Let it run also with BSD makes supporting the `.MAKE' special target. * tests/output6.test: Use proper m4 quoting in configure.in. Expand make macros with one-character name using `$(x)', not `$x', for portability. Move checks in the makefiles, rather than relying on grepping the output from make. Drop the now unneeded GNU make requirement.
* remake: behave better with non-GNU make in subdirectoriesStefano Lattarini2011-05-301-0/+80
Currently, with every decent make program, it is possible to rebuild out-of-date autotools-generated files with a simple "make Makefile" -- but for this to work reliably with non-GNU make implementations, the command must be issued from the top-level directory. This patch removes such limitation. * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'. * tests/defs.in (using_gmake): New function, backported from the `master' branch (and simplified). * tests/remake-subdir.test: New test. * tests/remake-subdir2.test: Likewise. * tests/remake-subdir-gnu.test: Likewise. * tests/remake-subdir-from-subdir.test: Likewise. * tests/Makefile.am (TESTS): Update.