Fix checks for unsupported allow_undefined_flag.

* tests/tagdemo-undef.test: Match allow_undefined_flag
correctly, for SKIPping.
* tests/cdemo-undef.test: Likewise.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Michael Haubenwallner 2008-10-28 20:47:44 +01:00 committed by Ralf Wildenhues
parent c2350e5382
commit b59009b28f
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2008-10-28 Michael Haubenwallner <michael.haubenwallner@salomon.at> (tiny change)
Fix checks for unsupported allow_undefined_flag.
* tests/tagdemo-undef.test: Match allow_undefined_flag
correctly, for SKIPping.
* tests/cdemo-undef.test: Likewise.
2008-10-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/testsuite.at (_LTDL_PROJECT_FILES): Fix dependencies for

View File

@ -1,7 +1,7 @@
#! /bin/sh
# cdemo-undef - test generating shared libraries with undefined symbols
#
# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
# Copyright (C) 2003, 2004, 2008 Free Software Foundation, Inc.
# Written by Gary V. Vaughan, 2003
#
# This file is part of GNU Libtool.
@ -30,7 +30,7 @@ func_cd "tests/cdemo"
func_make_distclean
func_configure "--disable-static"
grep '^allow_undefined=.?unsupported.?$' ./libtool >/dev/null 2>&1 \
grep '^allow_undefined_flag=.\{0,1\}unsupported.\{0,1\}$' ./libtool >/dev/null 2>&1 \
&& func_skip "$host doesn't support undefined symbols in shared libs"
if test -f ./libtool; then

View File

@ -1,7 +1,7 @@
#! /bin/sh
# tagdemo-undef - test generating shared libraries with undefined symbols
#
# Copyright (C) 2003, 2004 Free Software Foundation, Inc.
# Copyright (C) 2003, 2004, 2008 Free Software Foundation, Inc.
# Written by Gary V. Vaughan, 2003
#
# This file is part of GNU Libtool.
@ -31,7 +31,7 @@ func_cd "tests/tagdemo"
func_make_distclean
func_configure "--disable-static"
grep '^allow_undefined=.?unsupported.?$' ./libtool >/dev/null 2>&1 \
grep '^allow_undefined_flag=.\{0,1\}unsupported.\{0,1\}$' ./libtool >/dev/null 2>&1 \
&& func_skip "$host doesn't support undefined symbols in shared libs"
if test -f ./libtool; then