[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Libtool branch, master, updated. v2.2.6-30-gb7109da
From: |
Ralf Wildenhues |
Subject: |
[SCM] GNU Libtool branch, master, updated. v2.2.6-30-gb7109da |
Date: |
Sun, 16 Nov 2008 17:29:46 +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 b7109dab7251a5f3608c68830f63cab97b58ff04 (commit)
from bbf0ec783512da7001d1edf72caa72df4742453b (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 b7109dab7251a5f3608c68830f63cab97b58ff04
Author: Ralf Wildenhues <address@hidden>
Date: Sun Nov 16 18:29:34 2008 +0100
Fix execute mode test to actually expose cwrapper failures.
* tests/execute-mode.at (execute mode): Actually also test the
cwrapper on the arguments.
Report by Bruno Haible.
Signed-off-by: Ralf Wildenhues <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
tests/execute-mode.at | 10 +++++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7e49432..aff79eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-11-16 Ralf Wildenhues <address@hidden>
+
+ Fix execute mode test to actually expose cwrapper failures.
+ * tests/execute-mode.at (execute mode): Actually also test the
+ cwrapper on the arguments.
+ Report by Bruno Haible.
+
2008-11-15 Charles Wilson <address@hidden>
Add func_win32_import_lib_p.
diff --git a/tests/execute-mode.at b/tests/execute-mode.at
index acbe081..a019e8e 100644
--- a/tests/execute-mode.at
+++ b/tests/execute-mode.at
@@ -119,7 +119,7 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o
liba.la -rpath $libdir li
[], [ignore], [ignore])
AT_CHECK([$CC $CPPFLAGS $CFLAGS -c main.c],
[], [ignore], [ignore])
-AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main main.$OBJEXT
liba.la],
+AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT
main.$OBJEXT liba.la],
[], [ignore], [ignore])
# end of preparatory blurb.
@@ -168,6 +168,9 @@ AT_CHECK([$LIBTOOL --mode=execute ./foo lt-wrapper "arg
with special chars: \$!
[], [./lt-real
arg with special chars: $!&*`'()
])
+AT_CHECK([$LIBTOOL --mode=execute ./main$EXEEXT "arg with special chars:
\$!&*\`'()"],
+ [], [stdout])
+AT_CHECK([$FGREP 'arg with special chars: $!&*`'\''()' stdout], [], [ignore])
# We always pair two args. The first one is never the empty string.
arg1=
@@ -199,6 +202,11 @@ do
AT_CHECK([$FGREP "$arg1" stdout], [], [ignore])
AT_CHECK([$FGREP "$arg2" stdout], [], [ignore])
AT_CHECK([test `sed -n '/^abc$/,/^xyz$/p' stdout | wc -l` -eq 4])
+ AT_CHECK([$LIBTOOL --mode=execute ./main$EXEEXT abc "$arg1" "$arg2" xyz],
[], [stdout])
+ AT_CHECK([$FGREP "$arg1" stdout], [], [ignore])
+ AT_CHECK([$FGREP "$arg2" stdout], [], [ignore])
+ # Do not match EOL here, cross setups may have an extra \r here.
+ AT_CHECK([test `sed -n '/^abc/,/^xyz/p' stdout | wc -l` -eq 4])
arg1=
done
hooks/post-receive
--
GNU Libtool
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Libtool branch, master, updated. v2.2.6-30-gb7109da,
Ralf Wildenhues <=