[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Libtool branch, master, updated. v2.4.6-32-gf10e22c
From: |
Pavel Raiskup |
Subject: |
[SCM] GNU Libtool branch, master, updated. v2.4.6-32-gf10e22c |
Date: |
Mon, 22 Feb 2016 11:26:38 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".
The branch, master has been updated
via f10e22c2a13876a5494f11b1110d0e2976797873 (commit)
from f9970d99293faf908fdc153a653fa5781095fb7a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f10e22c2a13876a5494f11b1110d0e2976797873
Author: Pavel Raiskup <address@hidden>
Date: Fri Feb 19 18:22:15 2016 +0100
tests: fix $objdir hardcoding check with CFLAGS=-g3
At least with gcc, specifying -g3 in CFLAGS ends up with macros
expanded including LT_OBJDIR macro. This fooled the testsuite.
* tests/demo.at (Demo hardcode): Filter out the expanded LT_OBJDIR
macro.
-----------------------------------------------------------------------
Summary of changes:
tests/demo.at | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/tests/demo.at b/tests/demo.at
index b1de706..97a52a1 100644
--- a/tests/demo.at
+++ b/tests/demo.at
@@ -623,6 +623,10 @@ LT_AT_MAKE([hardcode])
eval "`$LIBTOOL --config | $EGREP
'^hardcode_(direct|minus_L|shlibpath_var|libdir_flag_spec)='`"
AT_CHECK([[exit_status=0
+func_hardcode_filter_fp ()
+{
+ $FGREP -v "LT_OBJDIR \"$objdir/\"" 2>/dev/null
+}
for file in hc-*; do
case $file in
hc-direct) expected="$hardcode_direct" ;;
@@ -662,10 +666,10 @@ for file in hc-*; do
# AIX fgrep also has a limited line length, so we turn unprintable
# characters into newlines.
elif cat $file | (tr '\000-\037\200-\377' '\n' || cat) 2>/dev/null \
- | $FGREP "$objdir" > /dev/null 2>&1; then
+ | func_hardcode_filter_fp | $FGREP "$objdir" > /dev/null
2>&1; then
hardcoded=yes
- elif $FGREP "$objdir" $file > /dev/null 2>&1; then
+ elif cat $file | func_hardcode_filter_fp | $FGREP "$objdir" > /dev/null
2>&1; then
# We retry fgrep without tr, in case the above lead to a false negative.
hardcoded=yes
elif ($SED -e '1!d' $file | $GREP 'unsupported') >/dev/null 2>&1; then
hooks/post-receive
--
GNU Libtool
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Libtool branch, master, updated. v2.4.6-32-gf10e22c,
Pavel Raiskup <=