* tests/build-relink.test: when hell is expected to fail, run it

within a subshell and redirect stderr to stdout, so that dynamic
linker errors are only printed in verbose mode
This commit is contained in:
Alexandre Oliva 1999-03-08 21:08:09 +00:00 committed by Alexandre Oliva
parent 8edf7d315b
commit b4806a4300
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
1999-03-08 Alexandre Oliva <oliva@dcc.unicamp.br>
* tests/build-relink.test: when hell is expected to fail, run it
within a subshell and redirect stderr to stdout, so that dynamic
linker errors are only printed in verbose mode
* ltmain.in (hardcode_libdir_separator, compile_rpath,
finalize_rpath): only substitute hardcode_libdir_flag_spec if
hardcode_libdirs is non-empty

View File

@ -70,7 +70,7 @@ fi
rm -f libhello.la
echo "running ../demo/hell with broken libhello.la"
if ./hell; then
if (./hell) 2>&1; then
echo "= Exiting: ../demo/hell runs even though libhello.la is incomplete"
echo "shlibpath_overrides_runpath should be set to no"
exit 1