libtool/tests
Ralf Wildenhues 2258787e02 Adjust executable run tests to cwrapper changes.
* tests/testsuite.at (LT_AT_EXEC_CHECK): Accept fifth argument
ARGS-OR-STATUS-ADJUST, for command-line arguments and/or exit
status flattening.  Rewrite to prefer the executable with the
`.exe' prefix over one without.  Test exit status against
expected exit status, not against zero, when determining whether
this may be a cross-compilation-induced result.
(LT_AT_NOINST_EXEC_CHECK): Likewise.
* tests/static.at (static linking flags for programs): Adjust
calls.
Report by Roumen Petrov.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2008-11-23 22:35:58 +01:00
..
cdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
demo Add .gitignore files. 2008-04-16 21:31:03 +02:00
depdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
f77demo Add .gitignore files. 2008-04-16 21:31:03 +02:00
fcdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
mdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
mdemo2 Add .gitignore files. 2008-04-16 21:31:03 +02:00
pdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
tagdemo Add .gitignore files. 2008-04-16 21:31:03 +02:00
.cvsignore * .cvsignore, doc/.cvsignore, libltdl/.cvsignore, 2006-06-13 18:36:56 +00:00
.gitignore Add .gitignore files. 2008-04-16 21:31:03 +02:00
am-subdir.at Drop usage of obsolete macros AC_EXEEXT and AC_OBJEXT. 2008-03-08 12:14:15 +00:00
archive-in-archive.at * tests/archive-in-archive.at 2008-02-08 06:55:07 +00:00
cdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
cdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
cdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
cdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
cdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
cdemo-undef.test Fix checks for unsupported allow_undefined_flag. 2008-10-28 20:47:44 +01:00
cmdline_wrap.at * tests/cmdline_wrap.at: Avoid `AT_CAPTURE_FILE' if it not 2007-04-24 20:50:07 +00:00
configure-iface.at Parallel make testsuite fixes. 2008-08-12 22:20:43 +02:00
convenience.at * tests/convenience.at (Java convenience archives): Skip test if 2008-03-07 08:07:50 +00:00
ctor.at * tests/am-subdir.at: Drop unused variables. 2008-01-12 14:07:02 +00:00
darwin.at Skip darwin test if fat link fails. 2008-05-31 12:12:31 -05:00
defs.m4sh Replace uses of $SED $basename. 2008-11-23 14:52:32 +01:00
demo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-deplibs.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
demo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
demo-hardcode.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-inst.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
demo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-nofast.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-noinst-link.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-nopic.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-pic.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-relink.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
demo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
demo-unst.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
depdemo-inst.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
depdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-nofast.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-relink.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
depdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
depdemo-unst.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
deplibs-ident.at * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
destdir.at Fix destdir tests in cross compile mode. 2008-11-11 22:25:45 +01:00
duplicate_conv.at * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
duplicate_deps.at * tests/duplicate_deps.at: Make the XFAIL unconditional, but 2007-05-10 17:30:29 +00:00
duplicate_members.at * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
early-libtool.at Parallel make testsuite fixes. 2008-08-12 22:20:43 +02:00
execute-mode.at Fix execute mode test to actually expose cwrapper failures. 2008-11-16 18:29:34 +01:00
export.at * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
f77demo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
f77demo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
f77demo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
f77demo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
f77demo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
fail.at Disallow `-L path', do not misparse it silently. 2008-08-21 21:07:16 +02:00
fcdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
fcdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
fcdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
fcdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
fcdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
indirect_deps.at * tests/indirect_deps.at: New file, with tests to ensure 2007-04-24 20:46:17 +00:00
inherited_flags.at Use /nonexistent as destination for files not to be installed. 2008-04-23 23:48:46 +02:00
install.at Use -no-undefined in install tests. 2008-11-12 07:21:20 +01:00
libtoolize.at Fix libtoolize test failure with aclocal < 1.10.1 2008-05-05 01:07:14 -04:00
link-2.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
link-order2.at No trailing period in Autotest test group names. 2008-11-23 21:10:23 +01:00
link-order.at No trailing period in Autotest test group names. 2008-11-23 21:10:23 +01:00
link.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
localization.at Newer Intel compilers do not grok -KPIC any more. 2008-06-19 19:35:52 +02:00
lt_dladvise.at Fix match patterns for cegcc*. 2008-11-20 07:23:45 +01:00
lt_dlexit.at * libltdl/loaders/dld_link.c (vl_exit): New function, zero out ... 2008-03-04 21:00:19 +00:00
ltdl-api.at Remove unnecessary global argz functions. 2008-08-26 12:41:25 -05:00
mdemo2-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo2-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
mdemo2-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-dryrun.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-exec.test * tests/mdemo-exec.test: Also try absolute library names. 2007-07-24 05:10:03 +00:00
mdemo-inst.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
mdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
mdemo-unst.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
need_lib_prefix.at * tests/lt_dladvise.at, tests/lt_dlexit.at, 2008-03-01 22:43:04 +00:00
nomode.test * libltdl/config/ltmain.m4sh (func_win32_libid, 2008-04-10 17:43:39 +00:00
nonrecursive.at Fix several test failures on Cygwin and MinGW. 2008-03-08 18:02:39 +00:00
objectlist.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
old-m4-iface.at Ensure $ac_aux_dir is initialized for LIBTOOL_DEPS. 2008-11-20 07:18:38 +01:00
pdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
pdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
pdemo-inst.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
pdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
quote.test Revenge of the $ECHO. Kill most uses of Xsed. 2008-11-23 14:42:06 +01:00
recursive.at Fix several test failures on Cygwin and MinGW. 2008-03-08 18:02:39 +00:00
runpath-in-lalib.at * tests/runpath-in-lalib.at (Runpath in libtool library files): 2008-01-07 21:26:55 +00:00
search-path.at Skip sys_lib_search_path on systems without libz. 2008-11-16 23:32:57 +01:00
sh.test * libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS): Move non-XSI 2008-04-10 21:18:02 +00:00
shlibpath.at * tests/cmdline_wrap.at: Avoid `AT_CAPTURE_FILE' if it not 2007-04-24 20:50:07 +00:00
standalone.at Avoid newlines in some AT_CHECK commands. 2008-11-23 15:17:34 +01:00
static.at Adjust executable run tests to cwrapper changes. 2008-11-23 22:35:58 +01:00
stresstest.at * doc/libtool.texi (Link mode) <-no-install>: Mention that this 2007-04-03 19:09:39 +00:00
subproject.at Avoid newlines in some AT_CHECK commands. 2008-11-23 15:17:34 +01:00
suffix.test * libltdl/m4/libtool.m4 (_LT_PROG_XSI_SHELLFNS) <func_xform>: 2008-04-10 21:01:54 +00:00
tagdemo-conf.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
tagdemo-exec.test * tests/cdemo-exec.test: use $EXEEXT where appropriate 2007-07-16 22:53:06 +00:00
tagdemo-make.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
tagdemo-shared.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
tagdemo-static.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
tagdemo-undef.test Fix checks for unsupported allow_undefined_flag. 2008-10-28 20:47:44 +01:00
tagtrace.test * HACKING (Licensing Rules): Explain the various license texts 2007-03-25 12:12:44 +00:00
template.at Use /nonexistent as destination for files not to be installed. 2008-04-23 23:48:46 +02:00
testsuite.at Adjust executable run tests to cwrapper changes. 2008-11-23 22:35:58 +01:00
TODO Add a test to simulate a failure visible on systems which 2007-06-24 20:46:47 +00:00