tests/compile2.test


Log

Author Commit Date CI Message
Stefano Lattarini 641a5a4b 2012-02-16T10:46:23 maint: run "make update-copyright"
Paul Eggert 8f76fd51 2012-01-04T07:53:02 cosmetics: prefer the term "Windows" over "Win32" Microsoft has renamed the Win32 API to "Windows API": <http://msdn.microsoft.com/en-us/library/aa383723.aspx> Also, after some discussion on bug-gnulib, when talking about hosts and platforms we believe it's better to talk about "Windows" or "native Windows" instead: <https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00009.html> <https://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00027.html> * doc/automake.texi: Mention "Windows", not "Win32". * lib/Automake/XFile.pm: Likewise. * lib/ar-lib: Likewise. * lib/compile: Likewise. * tests/compile2.test: Mention "Windows", not "w32".
Stefano Lattarini 02aa6404 2011-09-10T21:34:19 tests: avoid creating useless files in some test directories * tests/aclocal.test: Define `$am_create_testdir' to "empty" before sourcing ./defs, to avoid bringing in unused auxiliary files. Related adjustments. * tests/aclocal3.test: Likewise. * tests/aclocal8.test: Likewise. * tests/aclocal9.test: Likewise. * tests/acloca10.test: Likewise. * tests/acloca11.test: Likewise. * tests/acloca12.test: Likewise. * tests/acloca15.test: Likewise. * tests/acloca16.test: Likewise. * tests/acloca17.test: Likewise. * tests/acloca18.test: Likewise. * tests/acloca20.test: Likewise. * tests/acloca21.test: Likewise. * tests/acloca23.test: Likewise. * tests/aclocal-print-acdir.test: Likewise. * tests/ar-lib.test: Likewise. * tests/compile.test: Likewise. * tests/compile2.test: Likewise. * tests/compile3.test: Likewise. * tests/compile6.test: Likewise. * tests/instsh2.test: Likewise. * tests/instsh3.test: Likewise. * tests/mdate5.test: Likewise. * tests/mdate6.test: Likewise. * tests/missing3.test: Likewise. * tests/missing5.test: Likewise. * tests/mkinst3.test: Likewise. * tests/self-check-explicit-skips.test: Likewise. * tests/self-check-report.test: Likewise. * tests/self-check-sanity.test: Likewise. * tests/tap-driver-stderr.test: Likewise.
Stefano Lattarini 2838ad57 2011-06-06T14:40:22 tests: can use also $SHELL to check shell scripts from `lib/' * tests/ar-lib.test: If the variable `$test_prefer_config_shell' is set to "yes", run the script under test with configure-time determined $SHELL, rather than with /bin/sh. The `$test_prefer_config_shell' variable defaults to empty, but can be overridden at runtime by the user, thus allowing more coverage. * tests/compile.test: Likewise. * tests/compile2.test: Likewise. * tests/compile3.test: Likewise. * tests/compile4.test: Likewise. * tests/compile5.test: Likewise. * tests/compile6.test: Likewise. * tests/instsh2.test: Likewise. * tests/instsh3.test: Likewise. * tests/mkinst3.test: Likewise. * tests/missing.test: Likewise. * tests/missing2.test: Likewise. * tests/missing3.test: Likewise. * tests/missing5.test: Likewise. * tests/defs (get_shell_script): New subroutine, factoring out code common to the tests above. (xsi-lib-shell): If `$test_prefer_config_shell' is set to "yes", check that $SHELL, not /bin/sh, supports XSI constructs, as we expect the test will use $SHELL and not /bin/sh to run the script being tested.
Stefano Lattarini 9986bd92 2011-06-05T12:16:48 Revert "tests: use `$SHELL' to run the shell scripts from `lib/'" This reverts commit f977d00e0a3ab9af3555bb3bc8ea78726cb7a143. See <http://lists.gnu.org/archive/html/automake-patches/2011-06/msg00018.html> for the reasons behind this revert.
Stefano Lattarini f977d00e 2011-06-02T17:05:51 tests: use `$SHELL' to run the shell scripts from `lib/' This should offer greater testsuite coverage for those developers that override CONFIG_SHELL at configure time in order to test more shells on a single system, instead of just the default `/bin/sh'. This change also fixes few spurious failures in tests using the `xsi-shell' requirement, where inconsistencies could crop up if the shell probed for XSI features (which, by default, is $SHELL) was not the same shell later used to run the scripts using those features (which was hard-coded to `/bin/sh'). Such failures have already occurred in practice, for examples on Solaris systems which had also GNU Bash installed. * tests/ar-lib.test: Run the `ar-lib' script with `$SHELL', rather than directly with `./ar-lib', which would make run unconditionally with `/bin/sh'. * tests/compile.test: Likewise, but for the `compile' script. * tests/compile2.test: Likewise. * tests/compile3.test: Likewise. * tests/compile4.test: Likewise. * tests/compile5.test: Likewise. * tests/compile6.test: Likewise. * tests/instsh2.test: Likewise, but for the `install' script. * tests/instsh3.test: Likewise. * tests/mkinst3.test: Likewise, but for the `mkinstalldirs' script. * tests/missing.test: Likewise, but for the `missing' script. * tests/missing2.test: Likewise. * tests/missing3.test: Likewise. * tests/missing5.test: Likewise.
Stefano Lattarini 4f73c9f7 2010-06-03T00:30:03 testsuite: use `skip_' for skipping of tests * tests/defs: Use the `skip_' subroutine for test skipping. Also give sometimes more detailed messages about the reasons for the skipping. * tests/canon7.test: Likewise. * tests/color.test: Likewise. * tests/color2.test: Likewise. * tests/compile2.test: Likewise. * tests/dejagnu7.test: Likewise. * tests/depcomp6.test: Likewise. * tests/depcomp9.test: Likewise. * tests/depcomp10.test: Likewise. * tests/distlinks.test: Likewise. * tests/distlinksbrk.test: Likewise. * tests/fn99.test: Likewise. * tests/fn99subdir.test: Likewise. * tests/forcemiss2.test: Likewise. * tests/fort5.test: Likewise. * tests/gettext3.test: Likewise. * tests/install2.test: Likewise. * tests/instfail-info.test: Likewise. * tests/instfail-java.test: Likewise. * tests/instfail-libtool.test: Likewise. * tests/instfail.test: Likewise. * tests/instmany-mans.test: Likewise. * tests/instmany-python.test: Likewise. * tests/instmany.test: Likewise. * tests/instsh3.test: Likewise. * tests/ltinit.test: Likewise. * tests/makej2.test: Likewise. * tests/mdate6.test: Likewise. * tests/mkinst3.test: Likewise. * tests/parallel-tests3.test: Likewise. * tests/parallel-tests-reset-term.test: Likewise. * tests/parallel-tests-unreadable-log.test: Likewise, * tests/python-virtualenv.test: Likewise. * tests/remake-gnulib-remove-header.test: Likewise. * tests/subobj9.test: Likewise. * tests/symlink2.test: Likewise. * tests/tar.test: Likewise. * tests/tar2.test: Likewise. * tests/txinfo26.test: Likewise. * tests/vala2.test: Likewise. * tests/vala3.test: Likewise. * tests/vala5.test: Likewise. * tests/vtexi4.test: Likewise. * tests/instdir-texi.test: Likewise. * tests/txinfo21.test: Likewise. SquashMe
Stefano Lattarini 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'.
Stefano Lattarini c371d52f 2010-11-05T00:00:21 Merge branch 'tests-init' Conflicts: tests/ar-lib.test
Stefano Lattarini a25c6733 2010-09-25T21:31:06 Testsuite: Use `$PATH_SEPARATOR', not `:', when extending PATH. * tests/compile2.test: Do no uselessly (implicitly) repeat the computation of PATH_SEPARATOR again. * tests/instmany-mans.test: Use `$PATH_SEPARATOR', not `:', when extending/redefining PATH. * tests/instmany-python.test: Likewise. * tests/instmany.test: Likewise. * tests/man4.test: Likewise. * tests/mkinst3.test: Likewise. * tests/mmodely.test: Likewise. * tests/multlib.test: Likewise. * tests/txinfo30.test: Likewise. * tests/README (Section "Writing test cases" subsection "Do"): Updated. * Makefile.am (sc_tests_PATH_SEPARATOR): New maintainer check. (syntax_check_rules): Updated.
Stefano Lattarini a70b489a 2010-06-03T01:03:00 Tests defs: new variable $top_testsrcdir. * tests/defs.in ($top_testsrcdir): Define unconditionally to @abs_top_srcdir@. Use it throughout. * tests/ar-lib.test: Use `$top_testsrcdir' instead of `$testsrcdir/..'. * tests/auxdir.test: Likewise. * tests/compile.test: Likewise. * tests/compile2.test: Likewise. * tests/compile3.test: Likewise. * tests/compile5.test: Likewise. * tests/mdate6.test: Likewise. * tests/mkinst3.test: Likewise. * tests/multlib.test: Likewise. * tests/txinfo22.test: Likewise.
Ralf Wildenhues fcf2f560 2009-05-17T15:32:40 Revert Automake license to GPLv2+. Automake will move to GPLv3+ once the Exception statement has been rewritten to use the new GPLv3 exception language. This change does not impact the COPYING file that may be installed by `automake --add-missing'. * COPYING: Revert to GPLv2. All uses changed. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Peter Rosin 86ff4752 2009-03-09T16:53:11 * tests/compile2.test: Fix typo.
Ralf Wildenhues ab42654d 2009-03-07T01:27:11 Fix maintainer-check fallout. * tests/compile2.test: Use `Exit', not `exit'. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Ralf Wildenhues d7fb4311 2009-03-03T21:10:43 Fix w32 path handling in the `compile' script. * lib/compile: Handle colons and backslashes in win32 paths. * tests/compile2.test: New test. * tests/Makefile.am: Update. Report and initial patch by Peter Rosin. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>