tests/amhello-binpkg.test


Log

Author Commit Date CI Message
Peter Rosin 3c99e9dc 2011-09-05T11:30:17 * tests/amhello-binpkg.test: Add missing $EXEEXT usage. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Stefano Lattarini f4e516e6 2011-08-03T16:35:49 maintcheck: fix maintainer-check failures, both real and spurious * tests/amhello-binpkg.test: Use "$MAKE", not bare "make". * Makefile.am (sc_perl_local): Also allow perl special variable `$~' to be localized. And be slightly laxer in the regexp, to allow for usages like "local $_ = $foo;". (sc_tests_overriding_macros_on_cmdline): Also allow for command line overriding of the `DISABLE_HARD_ERRORS' make variable. Try to avoid false positives for usages like "$MAKE || st=$?".
Stefano Lattarini 3680f7de 2011-07-23T15:09:23 tests: relax a test on amhello examples to cater to Solaris tar * tests/amhello-binpkg.test: When the tar implementation in use is not GNU tar, relax the tests on tar output, to avoid spurious failures. For example, "tar cvf ..." with GNU tar can output lines like "./usr/bin/hello" on the standard output, while with Solaris tar it can output lines like "a ./usr/bin/hello 8K" on standard output, and with Heirloom tar it can output lines like "a ./usr/bin/hello 15 tape blocks" on standard error.
Stefano Lattarini e58e5f49 2011-07-06T10:31:03 tests: portability fixes in tests on amhello examples * tests/amhello-binpkg.test: Don't use "tar xzf too.tag.gz" to extract a gzip-compressed tarball, that's unportable to some tar implementations; use the "gzip -dc fo.tar.gz | tar xf -" idiom instead. * tests/amhello-cflags.test: Likewise. * tests/amhello-cross-compile.test: Likewise. Suggestion from Ralf Wildenhues.
Stefano Lattarini a44667dc 2011-06-30T20:05:25 docs, tests: synchronize examples from docs to tests * tests/README (Writing test cases): Give suggestions on how to keep test cases and examples in the documentation synchronized. * doc/automake.texi: Improve or fix existing testcase-referencing comments, and add many new ones. * HACKING (Administrivia): Suggest to test complex examples and idioms from the manual. * tests/specflg8.test: Improve synchronization with the example in the manual. * tests/output11.test:Likewise. * tests/txinfo21.test:Likewise. * tests/interp.test: Likewise. Since we are at it, and enable the `errexit' shell flag, do related changes, and add trailing `:'command. * tests/amhello-cflags.test: New test. * tests/amhello-cross-compile.test: Likewise. * tests/amhello-binpkg.test: Likewise. * tests/tests-environment-backcompat: Likewise. * tests/parallel-tests-log-compiler-example.test: Likewise. * tests/Makefile.am (TESTS): Update.