|
082028c1
|
2011-02-21T14:57:24
|
|
tests: add testcases sanity-checking the testsuite
Helper subroutines, variables and other pieces of code defined
in the `tests/defs' and used by many testcases are non-obvious,
and tricky to get to work portably; but until now, they weren't
tested at all in a clear and self-contained way.
This change should remedy to the situation.
* tests/self-check-cleanup.test: New test, check removal of
temporary test working directory by `./defs'.
* tests/self-check-dir.test: New test, check that tests using
`./defs' create a proper temporary directory, and run in it.
* tests/self-check-exit.test: New test, check that, in case of
failing commands, the correct exit status is passed to the exit
trap installed by the `./defs' script.
* tests/self-check-is_newest.test: New test, checking the
`is_newest' subroutine.
* tests/self-check-me.test: New test, checking that $me gets
defined automatically by `tests/defs' if not set, and that it
can be overridden from either the shell or the environment.
* tests/self-check-sanity.test: New test, check that the sanity
checks performed by the `tests/defs' script works correctly.
* tests/self-check-unindent.test: New test, checking the
`unindent' subroutine.
* tests/Makefile.am (TESTS): Update.
|
|
fd22dca1
|
2011-02-23T21:38:04
|
|
Merge branch 'maint'
|
|
e6ca61c1
|
2011-02-16T20:43:22
|
|
tests: tempdirs with restrictive permissions are cleaned correctly
Before this change, the removal of a temporary test directory
containing subdirectories with restrictive permissions (such as
'r--r--r--') could fail.
* tests/defs: Ensure that all the subdirectories of a temporary
test directory have the 'read', 'write' and 'execute' bits set,
before trying to remove it with `rm -rf'.
* tests/Makefile.am (clean-local-check): Likewise.
|
|
95ce684f
|
2011-02-16T13:00:59
|
|
Merge branch 'maint'
|
|
a118732d
|
2011-02-15T12:45:28
|
|
test defs: add subroutine for input unindenting
* tests/defs.in (unindent): New subroutine.
|
|
95b717e8
|
2011-02-15T10:17:53
|
|
Merge branch 'maint'
|
|
5bf7af6e
|
2011-01-31T21:24:02
|
|
python: report the 'PYTHON' influential environment variable
* m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON.
* doc/automake.texi (Python): Update and extend.
* tests/help-python.test: New test.
* tests/Makefile.am (TESTS): Update.
* THANKS (Jack Kelly): Update e-mail address.
Suggestion by Jack Kelly.
|
|
c0db5be2
|
2010-11-14T18:10:37
|
|
tests: `instspc-*.test': do not create useless source file
* tests/instspc-tests.sh (create_input_data): Do not create
unused source file `source2.c'.
|
|
1d77ab5e
|
2010-11-05T15:51:56
|
|
tests: optimize `instspc-*.test' for speed
After the split of `instspc.test' into various generated tests,
the running time of the testsuite has noticeably increased, since
all these new generated tests must run aclocal, autoconf and
automake, whereas previously they were run only once (at the
beginning of `instspc.test'). But luckily, since the new tests
share the same input files for the autotools, this situation can
be easily worked around (at the expenses of a slight increase of
complexity for the testsuite scaffolding).
* tests/instspc-data.test: New helper test, properly calling
the `instspc-tests.sh' script to generate input data for the
others `instspc-*.test' tests.
* tests/Makefile.am (TESTS): Add `instspc-data.test'.
($(instspc_tests:.test=.log)): Depend on its log file.
(instspc-data.log): Depend on `instspc-tests.sh'.
* tests/instspc-tests.sh: Recognize new action `generate-data',
and use it to create hand-written and autotools-generated static
files shared by all the `instspc-*.test' tests.
When sourced by the `instspc-*.test' tests, use those previously
created files instead of recreating them from scratch.
(unindent, create_input_data): New subroutines.
Some other related changes and refactorings.
From a suggestion by Ralf Wildenhues.
|
|
feac65b7
|
2011-02-15T00:47:52
|
|
Merge branch 'python-tests-extend'
|
|
50427eb4
|
2011-02-13T11:40:16
|
|
python: fix spurious failure in tests
* tests/python-vars.test: Ignore cached values from config.site
by exporting CONFIG_SITE=/dev/null. Be laxer in matching the
expected values of output variables `pythondir' and `pyexecdir',
since they can change quite unpredictably among different python
installations. Also, avoid "hyping" debugging output, thus
offering smaller trace output and more informative diff.
* tests/python-virtualenv.test: Require python, since we call it
even after the virtualenv has been deactivated. Ignore cached
values from config.site by exporting CONFIG_SITE=/dev/null.
Report and suggestions by Ralf Wildenhues.
|
|
5cc6a5a3
|
2011-02-10T10:46:21
|
|
tests defs: clear TESTS_ENVIRONMENT variable
* tests/defs.in (TESTS_ENVIRONMENT): Unset it, so that values
from environment won't interfere with the testcases.
Suggestion by Ralf Wildenhues.
|
|
0fc7e23f
|
2011-02-10T10:32:51
|
|
Merge branch 'maint'
|
|
6d0cfa31
|
2011-02-10T10:13:59
|
|
Merge branch 'python-tests-extend'
Conflicts:
tests/Makefile.am
tests/Makefile.in
tests/python11.test
tests/python2.test
tests/python8.test
tests/python9.test
|
|
5ed043ad
|
2011-02-06T19:43:22
|
|
tests: tweak few tests on simple and parallel test drivers
* tests/check-exported-srcdir.test: Improve heading comments.
* tests/check-tests-in-builddir.test: Likewise. Also, unset the
`FOO_EXIT_STATUS' variable, so that any pre-existing value in the
environment won't risk to interfere with the test.
Suggestions by Ralf Wildenhues.
|
|
6366a170
|
2011-02-01T23:22:08
|
|
python: extend and improve tests, fix minor glitches
* m4/python.m4 (AM_PATH_PYTHON): Ensure the "checking ..." messages
from configure are always complete, even in case of failure. Tiny
cosmetic improvement in info/error messages.
* tests/python.test: Also check that automake complains if the
PYTHON primary is used but the `py-compile' script is not present.
Make grepping of generated Makefile.in laxer w.r.t. whitespace.
Add trailing `:' command.
* tests/python2.test: Remove repeated calls aclocal: they are
useless because configure.in is never modified. Make grepping
of automake stderr more comprehensive. Remove the pre-existing
`py-compile' file before trying to install it with `--add-missing'.
Add trailing `:' command.
* tests/python3.test: Add trailing `:' command.
* tests/python11.test: Likewise.
* tests/python4.test: Likewise. Also, try to pass PYTHON config
variable to configure from the environment, rather than only from
the command line.
* tests/python5.test: Ensure that the "checking ..." messages from
configure are always complete. Use proper m4 quoting. Add a
trailing `:' command.
* tests/python6.test: Simplify test logic, by checking for files
created by configure rather then grepping its output.
* tests/python7.test: Likewise.
* tests/python8.test: Also check that `$PYTHON' is meaningfully
set in the ACTION-IF-TRUE argument of AM_PATH_PYTHON.
* tests/python9.test: Likewise.
* tests/python10.test: Add trailing `:' command.
(Makefile.am): Declare `disttest' target as `.PHONY', and add
an `ls -l' to its recipe, for debugging.
* tests/nobase-python.test: In testing "make uninstall" and
"make install" results, prefer idioms that make verbose logs
more helpful. Remove a couple of lines of dead code. Add a
trailing `:' command.
* tests/python5b.test: New test, checking that configure performs
the check on the python version even when the choice of the python
interpreter is forced by the user.
* tests/python-dist.test: New test, checking the distribution of
*_PYTHON files.
* tests/python-vars.test: New test, checking that AM_PATH_PYTHON
correctly set all the output variables advertised in the manual.
* tests/python-virtualenv.test: New test, checking that python
support offered by automake works well with "virtual python
environments" created by the `virtualenv' program.
* tests/instdir-prog.test: Also check `$(pyexecdir)'. Existing
checks made slightly stricter.
* tests/instdir-prog.test: Also check `$(pyexecdir)'. Existing
* tests/instdir-ltlib.test: Likewise.
* tests/Makefile.am (TESTS): Update.
|
|
e12be945
|
2011-01-24T15:56:52
|
|
coverage: more tests on simple and parallel test drivers
* tests/parallel-tests-subdir.test: New test.
* tests/check-exported-srcdir.test: Likewise.
* tests/check-tests-in-builddir.test: Likewise.
* tests/check-tests_environment.test: Likewise.
* tests/Makefile.am (TESTS): Update.
|
|
9095d6b9
|
2011-01-29T18:47:39
|
|
Merge branch 'lflags-test-fixes' into maint
|
|
57198dec
|
2011-01-29T18:35:45
|
|
tests: fix spurious failures in lflags*.test
* tests/lflags.test: Remove 'LEX' from the environment, so
that it won't be erroneously picked up by `make -e'.
* tests/lflags2.test: Likewise.
|
|
c383211a
|
2011-01-24T21:43:41
|
|
Merge branch 'maint'
|
|
fcb15300
|
2011-01-23T11:26:50
|
|
tests: avoid instspc.test failures due to make's whitespace trimming
* tests/instspc.test: Prepend './' when passing the test
characters, to avoid leading whitespace characters to be trimmed
from macros set from environment variables. Fixes testsuite
failures with HP-UX, IRIX, and Tru64/OSF make.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
e1a4d87a
|
2011-01-22T18:09:51
|
|
coverage: test semantics of "dummy" per-target flags
* tests/specflg-dummy.test: New test, ensuring that even "dummy"
per-target flags triggers the use of renamed objects.
* tests/Makefile.am (TESTS): Update.
Suggestion by Ralf Wildenhues.
|
|
ead12d3f
|
2011-01-23T12:54:35
|
|
tests defs: sanitize IFS
* tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
($sp): New variable, holding a single whitespace character.
($tab): New variable, holding a tabulation character.
($nl): New variable, holding a newline character.
|
|
6050166b
|
2011-01-23T10:57:21
|
|
tests: avoid instspc* failures due to make's whitespace trimming
* tests/instspc-tests.sh: Prepend './' when passing the test
characters, to avoid leading whitespace characters to be trimmed
from macros set from environment variables. Fixes testsuite
failures with HP-UX and Tru64/OSF make.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
e9d5de54
|
2011-01-22T18:31:12
|
|
Merge branch 'maint'
|
|
c23bfd88
|
2011-01-22T18:27:30
|
|
Merge branch 'tests-suffix-extend'
* tests-suffix-extend:
tests: fix VPATH auto-expansion workarounds.
tests: fix VPATH auto-expansion workarounds.
|
|
e09e0b91
|
2011-01-22T13:11:39
|
|
tests: fix VPATH auto-expansion workarounds.
* tests/suffix10.test, tests/suffix11.test, tests/suffix12.test,
tests/suffix3.test, tests/suffix5.test, tests/suffix8.test:
Ensure $< is not surrounded by white space, to prevent Solaris
make from applying automatic VPATH text expansion.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
1d646306
|
2011-01-22T18:22:18
|
|
Merge branch 'vpath-autoexp-fix-maint' into tests-suffix-extend
* vpath-autoexp-fix-maint:
tests: fix VPATH auto-expansion workarounds.
|
|
e9cb6db1
|
2011-01-22T18:21:45
|
|
Merge branch 'vpath-autoexp-fix-maint' into maint
* vpath-autoexp-fix-maint:
tests: fix VPATH auto-expansion workarounds.
|
|
92c4c0c0
|
2011-01-22T18:20:41
|
|
tests: fix VPATH auto-expansion workarounds.
* tests/parallel-tests8.test, tests/suffix13.test:
Ensure $< is not surrounded by white space, to prevent Solaris
make from applying automatic VPATH text expansion.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
4a492566
|
2011-01-22T14:50:20
|
|
Merge branch 'yflags-test-fixes' into maint
|
|
c876b0e0
|
2011-01-22T13:32:14
|
|
tests: fix spurious failures in yflags*.test
* tests/yflags.test: Remove 'YACC' from the environment, so
that it won't be erroneously picked up by `make -e'.
* tests/yflags2.test: Likewise.
|
|
7e2e93d8
|
2011-01-22T13:46:27
|
|
tests: avoid fn99*.test failures due to buggy AIX 5.3 cp -R.
* tests/fn99.test, tests/fn99subdir.test: Skip if an initial
`cp -R' of the subdir tree already fails; AIX 5.3 cp messes
up its internal memory when copying this tree.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
5640d721
|
2011-01-21T21:07:00
|
|
tests: check for presence of cscope with redirected input.
* tests/defs: Add required test for cscope.
Fixes cscope3.test hang with Sun C 5.9 cscope.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
9dffb4d6
|
2011-01-21T19:56:50
|
|
Merge branch 'cygnus-test-fixes'
* cygnus-test-fixes:
tests: avoid false failure in cygnus-dependency-tracking.test.
|
|
06b839e4
|
2011-01-21T19:54:35
|
|
tests: avoid false failure in cygnus-dependency-tracking.test.
* tests/cygnus-dependency-tracking.test: Be less restrictive
when grepping the compiler error message, GCC 3.4.6 on FreeBSD
does not mention an undefined symbol.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
a5e77cac
|
2011-01-20T21:47:06
|
|
Merge branch 'tests-init'
* tests-init:
tests: revert not turning off errexit in instspc-test.sh
|
|
0536a861
|
2011-01-20T21:46:22
|
|
tests: revert not turning off errexit in instspc-test.sh
* tests/instspc-tests.sh: Turn off errexit while sourcing defs,
the scripts might still not be clean.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
4e1ab202
|
2011-01-20T21:29:42
|
|
tests: less strict double-colon spy.test again.
* tests/spy.test: We know BSD make doesn't invoke more than one
double-colon rule, so no need to expose that failure.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
15a6e56f
|
2011-01-19T21:50:02
|
|
install-sh: avoid Tru64 sh `test' operator precedence issues.
* lib/install-sh: Protect file names and directory components
that consist of `=', `(', `)', or `!'. Move protection as early
as possible, to avoid errors such as with Tru64 sh `test -z ='.
* tests/instsh2.test: Extend test to cover more possibilities.
Fixes 1.12 instspc-equal-install.test failure on Tru64/OSF 5.1.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
d905a94e
|
2011-01-19T19:54:41
|
|
Merge branch 'tests-init'
* tests-init:
tests: work around Tru64 sh -e issues for instspc*.test.
|
|
7069a8b3
|
2011-01-18T22:58:18
|
|
tests: work around Tru64 sh -e issues for instspc*.test.
Apparently, Tru64 sh does not like turning off errexit mode,
and gets confused.
* tests/defs: Document 'errexit' cleanliness requirement.
* tests/defs-static.in: Likewise. Avoid error from command
substitution to abort instspc*.test with Tru64/OSF 5.1 sh.
* tests/instspc-tests.sh: Drop now-unneeded temporary errexit
dropping. Add strategic '|| Exit' to let tests work on Tru64.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
3474cdc9
|
2011-01-19T19:49:12
|
|
Merge branch 'maint'
|
|
e8e533e2
|
2011-01-18T23:11:54
|
|
tests: avoid failure on w32 file systems.
* tests/parallel-tests-unreadable-log.test: SKIP if file cannot
be turned unreadable.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
599a8f5e
|
2011-01-16T22:27:37
|
|
tests: allow double-colon spy.test to work with HP-UX make.
* tests/spy.test: Fix comment typos. Ensure prerequisites we
do not want to depend on are strictly older than the target.
Also test with a target out of date wrt. more than one rule.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
5fa4dafb
|
2011-01-16T20:42:31
|
|
Merge branch 'maint'
|
|
80fdae8e
|
2011-01-16T19:23:12
|
|
tests: remove useless requirements from cond36.test
* tests/cond36.test ($required): Remove.
Since we are at it, add a trailing `:' command.
|
|
882972f8
|
2011-01-16T18:03:08
|
|
Merge branch 'tests-vartypo-fixes'
* tests-vartypo-fixes:
tests: avoid failing command substitution in errexit mode.
|
|
a2052908
|
2011-01-16T18:02:51
|
|
Merge branch 'maint'
|
|
080efc94
|
2011-01-16T13:48:17
|
|
parallel-tests: work around Tru64/OSF 5.1 sh read bugs.
* lib/am/check.am ($(TEST_SUITE_LOG), recheck, recheck-html):
Test file readability before redirecting input from it, to avoid
exiting Tru64/OSF 5.1 sh which treats read as special builtin.
* tests/parallel-tests-unreadable-log.test: New test.
* tests/Makefile.am (TESTS): Update.
* NEWS: Update.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
5e706943
|
2011-01-16T15:57:23
|
|
Merge branch 'tests-init'
|
|
ef46fa2f
|
2011-01-16T14:17:38
|
|
tests: avoid failing command substitution in errexit mode.
* tests/vartypo2.test, tests/vartypos.test: Rewrite to not use
a command substitution with a nonzero exit status, that causes
IRIX and Tru64/OSF sh to fail the whole test.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
1456186d
|
2011-01-16T12:15:19
|
|
Merge branch 'maint'
|
|
e5fb6dce
|
2011-01-16T12:12:51
|
|
Fix parallel-tests.test failure with HP-UX make.
* tests/parallel-tests.test: Sleep inside inner tests, so logs
are newer than logs of tests they depend on, for HP-UX make.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
09c55b72
|
2011-01-16T12:14:03
|
|
Revert "tests: avoid new failures due to nonexistent makeinfo."
This reverts commit 7a42b52f626f3b713196b5946b9bfbb3e173226b.
|
|
719d1078
|
2011-01-16T10:11:25
|
|
Merge branch 'tests-texinfo' into maint
* tests-texinfo:
tests: avoid new failures due to nonexistent makeinfo.
|
|
7a42b52f
|
2011-01-16T10:09:57
|
|
tests: avoid new failures due to nonexistent makeinfo.
* tests/txinfo.test, tests/txinfo8.test: Create stub info files
so 'missing --run makeinfo' won't fail even if makeinfo is not
present.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
a9a34430
|
2010-11-12T15:45:22
|
|
tests: hard errors in case of internal failure or signal caught
* tests/defs: Exit with status 99 (hard error) rather than
1 (failure) on unexpected/internal errors, or when a signal
is caught by the client script.
|
|
f4f5bbe6
|
2011-01-15T15:49:52
|
|
Merge branch 'warns-win-over-strictness'
* warns-win-over-strictness:
Update docs w.r.t. warning and strictness options.
More tests on warnings/strictness precedence.
Update NEWS about the warnings-over-strictness precedence.
Warnings win over strictness in AUTOMAKE_OPTIONS.
Change signature of 'Automake::Options::_process_option_list()'.
Add more tests about AUTOMAKE_OPTIONS.
Warnings win over strictness in AM_INIT_AUTOMAKE.
Warnings win over strictness on command line.
More tests on warnings and strictness.
New test on silent-rules mode and portability warnings.
Add new tests on strictness and warnings precedence and overriding.
|
|
cc2bb3af
|
2010-11-12T14:52:51
|
|
Tests defs: don't let useless variables leak in test scripts.
* tests/defs ($priv_check_temp, $overwrite_status, $ro_dir_temp,
$create_status, $r2h, $libtool_found, $gettext_found, $aclocaldir,
$extra_includes): Unset once they've served their purpose.
|
|
228b8269
|
2010-12-24T21:10:26
|
|
More tests on warnings/strictness precedence.
* tests/warning-groups-win-over-strictness.test: New test, similar
to `warnings-win-over-strictness.test', but checking the explicit
catch-all warning flags (like `-Wall' and `-Wnone').
* tests/Makefile.am (TESTS): Update.
|
|
1609491e
|
2010-12-20T18:29:50
|
|
Warnings win over strictness in AUTOMAKE_OPTIONS.
Ensure that, for what concerns the options specified in
AUTOMAKE_OPTIONS, explicitly-defined warnings always take
precedence over implicit strictness-implied warnings.
This finally fixes Automake bug#7669 a.k.a. PR/547.
* automake.in (handle_options): Call 'process_option_list'
only once per set of options.
* lib/Automake/Options.pm (process_global_option_list,
process_option_list): Add sanity checks.
($_options_processed, $_global_options_processed): New
internal variables, used by the sanity checks above.
* tests/warnings-win-over-strictness.test: Extend.
|
|
2bc047b1
|
2010-12-20T16:30:10
|
|
Add more tests about AUTOMAKE_OPTIONS.
In view of soon-to-follow refactorings (still in the pursuit of a
fix for Automake bug#7669 a.k.a. PR/547), add some more tests on
AUTOMAKE_OPTIONS support, to prevent obvious regressions.
* tests/amopts-variable-expansion.test: New test.
* tests/amopts-location.test: Likewise.
* tests/Makefile.am (TESTS): Update.
|
|
9a88bf66
|
2010-12-20T14:57:27
|
|
Warnings win over strictness in AM_INIT_AUTOMAKE.
This change ensures that, for what concerns the options specified
in AM_INIT_AUTOMAKE, explicitly-defined warnings always take
precedence over implicit strictness-implied warnings. Related to
Automake bug#7669 a.k.a. PR/547.
* lib/Automake/Options.pm (_process_option_list): Parse explicit
warnings only after the strictness level has been set. Fix POD
documentation.
* tests/warnings-win-over-strictness.test: Extend.
|
|
b67240eb
|
2010-12-20T12:10:56
|
|
Warnings win over strictness on command line.
This change ensures that, on the command line at least, explicitly
defined warnings always take precedence over implicit strictness
implied warnings. Related to Automake bug#7669 a.k.a. PR/547.
* automake.in (parse_arguments): Parse warnings only after the
strictness level has been processed.
* tests/gnuwarn.test: Update, plus miscellaneous improvements.
* tests/warnings-win-over-strictness.test: New test.
* tests/Makefile.am (TESTS): Update.
|
|
b638d135
|
2011-01-13T23:57:16
|
|
More tests on warnings and strictness.
* tests/warnings-strictness-interactions.test: New test.
* tests/warnings-unknown.test: Likewise.
* tests/Makefile.am (TESTS): Update.
|
|
0bdcb49a
|
2010-12-20T19:28:35
|
|
New test on silent-rules mode and portability warnings.
* tests/silent-nowarn.test: New test.
* tests/Makefile.am (TESTS): Update.
|
|
b9ddbaa0
|
2010-12-20T00:46:21
|
|
Add new tests on strictness and warnings precedence and overriding.
* tests/strictness-overriding.test: New test.
* tests/strictness-precedence.test: New test.
* tests/warnings-overriding.test: New test.
* tests/warnings-precedence.test: New test.
* tests/Makefile.am (TESTS): Update.
|
|
9217054b
|
2011-01-15T14:35:36
|
|
Merge branch 'tests-remake-extend'
* tests-remake-extend:
Fix remake rule induced test failures with HP-UX make.
|
|
2f785807
|
2011-01-15T14:32:43
|
|
Fix remake rule induced test failures with HP-UX make.
* tests/remake1a.test: Require GNU make.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
6fdad1a6
|
2011-01-15T14:30:24
|
|
Merge branch 'tests-colon-extend'
* tests-colon-extend:
Fix remake rule-induced test failures with HP-UX make.
tests: fix typos in colon6.test
|
|
51f1b0da
|
2011-01-15T14:29:55
|
|
Fix remake rule-induced test failures with HP-UX make.
* tests/colon6.test: Update timestamp of subdir Makefile, so we
do not spuriously invoke the nonexistent toplevel am--refresh
rule.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
c69843e7
|
2011-01-15T14:26:01
|
|
tests: fix typos in colon6.test
* tests/colon6.test: Fix typos.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
c62bac66
|
2011-01-15T12:40:02
|
|
tests: explain MSYS setup failure issue, improve test.
* tests/defs: Add comment and failure message, improve fail
logic.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
2525b56b
|
2011-01-15T13:06:21
|
|
Merge branch 'fix-libobj-tests'
* fix-libobj-tests:
Fix libobj2.test failure with non-GNU make: define $(AR).
|
|
63c34882
|
2011-01-15T11:54:54
|
|
Fix libobj2.test failure with non-GNU make: define $(AR).
* tests/libobj2.test: Ensure $(AR) is suitably defined.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
44eb24d6
|
2010-10-14T16:39:22
|
|
tests: fix comment typo
* tests/substref.test: Fix grammar in a comment.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
cdf88178
|
2011-01-15T09:07:21
|
|
tests: avoid spurious failures due to fork failure in test setup
* tests/defs: Ensure $me is always nonempty, to avoid spurious
failures on MinGW/MSYS in case the preceding sed command could
not be spawned.
|
|
6615a9c3
|
2011-01-13T21:35:05
|
|
Merge branch 'tests-texinfo' into maint
|
|
21fec671
|
2011-01-13T20:56:04
|
|
tests: fix spurious failures in two texinfo tests
* tests/txinfo.test ($required): Add 'makeinfo'.
* tests/txinfo8.test: Create a dummy 'textutils.info' file, so
that make won't try to run makeinfo (which could be unavailable)
to build it.
Found by NixOS Hydra, reported by Ralf Wildenhues.
|
|
b068a03c
|
2011-01-13T20:23:36
|
|
Merge branch 'maint'
|
|
cf65e60d
|
2011-01-13T20:21:39
|
|
Avoid testsuite failures due to Autoconf Fortran change.
Autoconf v2.68-21-g727ce95 causes AC_F77_LIBRARY_LDFLAGS to
require computing the canonical host name. Ensure config.guess
and config.sub files are present for respective checks.
* tests/compile_f_c_cxx.test: Add stub files.
* tests/flibs.test: Likewise.
* tests/fort4.test: Use $AUTOMAKE -a for installing files.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
6d02a1ea
|
2011-01-12T00:06:00
|
|
Merge branch 'maint'
|
|
06605440
|
2011-01-12T00:02:50
|
|
Merge branch 'yacc-work'
|
|
8b419dd7
|
2011-01-11T20:03:05
|
|
tests: do not force yacc-requiring tests to use bison
* tests/defs.in: New required entry 'yacc'. Remove old
required entry 'bison'.
* tests/cond35.test ($required): Require yacc, not bison.
* tests/cond36.test: Likewise.
* tests/pr204.test: Likewise.
* tests/silent-many-gcc.test: Likewise.
* tests/silent-many-generic.test: Likewise.
* tests/silent-yacc-gcc.test: Likewise.
* tests/silent-yacc-generic.test: Likewise.
* tests/subpkg.test: Likewise.
* tests/suffix10.test: Likewise.
* tests/yacc-basic.test: Likewise.
* tests/yacc-clean.test: Likewise.
* tests/yacc-d-basic.test: Likewise.
* tests/yacc-d-vpath.test: Likewise.
* tests/yacc-dist-nobuild.test: Likewise.
* tests/yacc-nodist.test: Likewise.
* tests/yacc4.test: Likewise.
* tests/yacc6.test: Likewise.
* tests/yacc7.test: Likewise.
* tests/yacc8.test: Likewise.
* tests/yaccdry.test: Likewise.
* tests/yaccvpath.test: Likewise.
|
|
a7acd6bb
|
2011-01-11T03:17:10
|
|
tests: more consistent checks about invalid options
* tests/aclocal.test: Grepping of automake stderr for messages
reporting invalid options made stricter.
* tests/no-outdir-option.test: Likewise. Also, create a dummy
`Makefile.am', to ensure that the automake failures are really
caused only by unrecognized options.
* tests/automake.test: Added trailing `:' command. Removed
redundant checks on `--help' and `--version' option (already
performed in the test `help*.test').
|
|
79103003
|
2011-01-08T19:40:04
|
|
tests: enable 'errexit' shell flag by default.
* tests/defs: Enable `errexit' shell flag (near the end).
Removed redundant comment about the enabling of shell traces.
* tests/README (Writing test cases): Update, and use nicer
formatting in a couple of places.
* All tests: Adjusted by removing now-redundant calls to
'set -e'.
|
|
3d8d5ec1
|
2011-01-11T22:50:21
|
|
Merge branch 'tests-autodist' into maint
|
|
c8c0a645
|
2011-01-10T23:56:43
|
|
tests: add checks on automatically-distributed files
Related to automake bug#7819.
* tests/autodist.test: New test.
* tests/autodist-subdir.test: Likewise.
* tests/autodist-acconfig.test: Likewise.
* tests/autodist-acconfig-no-subdir.test: Likewise.
* tests/autodist-aclocal-m4.test: Likewise.
* tests/autodist-config-headers.test: Likewise.
* tests/autodist-configure-no-subdir.test: Likewise.
* tests/autodist-stamp-vti.test: Likewise.
* tests/Makefile.am (TESTS): Update.
|
|
20664697
|
2011-01-11T13:24:06
|
|
Merge branch 'maint'
|
|
51b68122
|
2011-01-11T13:12:05
|
|
tests: work around a texi+cygnus bug causing a spurious XFAIL
* tests/txinfo5b.test: New test, like txinfo5.test but calling
automake with the `-Wno-override' option to work around a bug
in the texinfo + cygnus interaction.
* tests/txinfo5.test: Update heading comments.
* tests/Makefile.am (TEST): Updated.
|
|
ad748b83
|
2011-01-11T02:20:19
|
|
tests: texinfo unrecognized extensions
* tests/txinfo-unrecognized-extension.test: New test.
* tests/Makefile.am (TESTS): Update.
|
|
6f00e538
|
2011-01-11T02:07:51
|
|
Merge branch 'maint'
Conflicts:
tests/instdir-texi.test
tests/txinfo22.test
|
|
a115c7c7
|
2011-01-11T01:59:29
|
|
Merge branch 'tests-texinfo' into maint
|
|
6318add0
|
2010-12-24T02:56:35
|
|
Improve, extend and tweak tests on Texinfo support.
* tests/instdir-texi.test: Add a call to `ls -l' after that to
`make', for debugging. When looking for required tools, do not
redirect the output of "$tool --help" to /dev/null, and do not
uselessly run it in a subshell.
* tests/txinfo.test: Rewritten to run autoconf, ./configure and
make. All checks moved into Makefile.am.
* tests/txinfo8.test: Likewise, and modernize the generated
configure.in.
* tests/txinfo2.test: Moved checks into Makefile.am, and other
minor improvements.
* tests/txinfo5.test: Enable `errexit' shell flag, and related
changes. Add trailing `:' command.
* tests/txinfo6.test: Likewise, and make grepping of generated
Makefile.in stricter.
* tests/txinfo7.test: Enable `errexit' shell flag, and related
changes. Add trailing `:' command. Do not add unnecessary stuff
to Makefile.am.
* tests/txinfo9.test: Verify that more targets which are expected
to be generated only once really are. Make grepping less strict,
to avoid exposing too much internal details. More minor changes.
* tests/txinfo16.test: Add trailing `:'. Prefer cat over echo
for appending to configure.in. Updated/fixed heading comments.
* tests/txinfo23.test: Likewise, and extended a little by making
it check that no info file is created in the $(srcdir).
* tests/txinfo24.test: Likewise.
* tests/txinfo25.test: Likewise.
* tests/txinfo18.test: Add trailing `:'. Prefer cat over echo
for appending to configure.in. Also, check that index files are
cleaned also by "make clean", not only by "make distclean".
* tests/txinfo22.test: Prefer `$me' over hard-coded test name,
and added trailing `:' command. This testcase also used to check
that automake ignores in-line comments when using variables, but
preserves them in the output; these checks (added in commit
"Release-1-7f-4-g9177ef8") do not really pertain to this test,
so they have been moved ...
* tests/comments-in-var-defn.test: ... into this new test.
* tests/txinfo4.test: Escape literal dots in grep regexps. Add
trailing `:' command.
* tests/txinfo29.test: Likewise. Relax grepping of generated
Makefile.in w.r.t. whitespaces. Prefer `cat' over `echo' to
append to configure.in.
* tests/txinfo3.test: Likewise.
* tests/vtexi.test: Improve grepping of Makefile.in (sometimes
make it stricter, sometimes laxer). Move `set -e' setting just
after the inclusion of ./defs. De-uglify a sed command. Other
minor cosmetic improvements.
* tests/vtexi2.test: Make grepping of Makefile.in stricter. Add
trailing `:' command.
* tests/vtexi3.test: New test on version.texi support.
* tests/vtexi4.test: Likewise.
* tests/Makefile.am (TESTS): Updated.
|
|
23b41dc7
|
2011-01-11T01:10:44
|
|
tests: fix spurious failure in 'tests/yflags-conditional.test'
* tests/yflags-conditional.test: Filter out message "warnings are
treated as errors" from automake stderr, to avoid a false positive
when grepping for extraneous warning messages.
|
|
05e77ab5
|
2011-01-11T01:00:13
|
|
Merge branch 'yacc-work'
|
|
834dc3a9
|
2011-01-10T15:50:35
|
|
yacc: warn about conditional content in *YFLAGS variables
This commit fixes automake bug#7804.
* automake.in (lang_yacc_target_hook): Warn if any of the relevant
*YFLAGS variables has conditional contents (not only a conditional
definition). Related refactoring.
* NEWS: Updated.
* tests/yflags-conditional.test: Updated and extended.
* tests/yflags-conditional-force.test: New test.
* tests/Makefile.am (TESTS): Updated.
|
|
405477b5
|
2011-01-09T16:20:34
|
|
Merge branch 'yacc-work'
|
|
3544a43c
|
2011-01-07T21:52:56
|
|
yacc: support variable expansions in *YFLAGS definition.
This change fixes automake bug#7800.
* automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive'
instead of 'variable_value' to get the value of *YFLAGS variables.
Related changes.
($DASH_D_PATTERN): Removed.
* tests/Makefile.am (XFAIL_TESTS): Remove yflags-var-expand.test.
* tests/yacc-clean.test: Remove workaround for now-fixed bug.
* NEWS: Update.
|