summaryrefslogtreecommitdiff
path: root/tests/template.at
diff options
context:
space:
mode:
authorMichael Haubenwallner <michael.haubenwallner@salomon.at>2008-04-23 23:48:46 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-04-23 23:48:46 +0200
commit4f2021de12cf4756b5d6b235560092e5cce0094c (patch)
treeb14055d18be8436d27e14da4b58e6bae0861b8f6 /tests/template.at
parent08015bb3c9d8c86493d0f5dff9b3a3e40136cf6b (diff)
downloadlibtool-4f2021de12cf4756b5d6b235560092e5cce0094c.tar.gz
Use /nonexistent as destination for files not to be installed.
* tests/darwin.at (darwin fat compile): Fix typo. * tests/inherited_flags.at (inherited_linker_flags): Change -rpath to /nonexistent. This helps to avoid accidentally picking up libraries below /usr/local. * tests/template.at (simple template test): Likewise. Fixes test failure for additional incompatible libstdc++ in /usr/local. * tests/testsuite.at (configure_options): Add --prefix=/nonexistent. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/template.at')
-rw-r--r--tests/template.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/template.at b/tests/template.at
index 9fc71f51..cc730ff1 100644
--- a/tests/template.at
+++ b/tests/template.at
@@ -1,6 +1,6 @@
# template.at -- test C++ templates with libtool -*- Autotest -*-
#
-# Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
# Written by Markus Christen, 2005
#
# This file is part of GNU Libtool.
@@ -82,7 +82,7 @@ AT_CHECK([$LIBTOOL --tag=CXX --mode=compile $CXX -I. $CPPFLAGS $CXXFLAGS -c -o a
[0], [ignore], [ignore])
AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CPPFLAGS $CXXFLAGS $LDFLAGS -o libaclib.la aclib.lo],
[0], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CPPFLAGS $CXXFLAGS $LDFLAGS -o libalib.la -rpath /usr/local/lib alib.lo libaclib.la],
+AT_CHECK([$LIBTOOL --tag=CXX --mode=link $CXX $CPPFLAGS $CXXFLAGS $LDFLAGS -o libalib.la -rpath /nonexistent alib.lo libaclib.la],
[0], [ignore], [ignore])
AT_CHECK([$CXX -I. $CPPFLAGS $CXXFLAGS -c prog.cpp],
[0], [ignore], [ignore])