projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a51b58
)
Fix run-assert-msg-test to work with libtool-2.2.x.
author
Priit Laes
<plaes@plaes.org>
Mon, 8 Mar 2010 05:16:23 +0000
(
00:16
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 8 Mar 2010 05:16:23 +0000
(
00:16
-0500)
tests/run-assert-msg-test.sh
patch
|
blob
|
history
diff --git
a/tests/run-assert-msg-test.sh
b/tests/run-assert-msg-test.sh
index bf05a7c8f42c71ee3840ccb92c3c9d8283513c04..8557e020f84a034c24434056af3ad70ba0446f8d 100755
(executable)
--- a/
tests/run-assert-msg-test.sh
+++ b/
tests/run-assert-msg-test.sh
@@
-29,8
+29,12
@@
if ! type gdb >/dev/null 2>&1; then
exit 0
fi
+msg_test="assert-msg-test"
+if [ -e ".libs/lt-$msg_test" ]; then
+ msg_test="lt-$msg_test"
+fi
echo_v "Running gdb on assert-msg-test"
-OUT=$(gdb --batch --ex run --ex "print (char*) __glib_assert_msg" .libs/
lt-assert-msg-
test 2> $error_out) || \
+OUT=$(gdb --batch --ex run --ex "print (char*) __glib_assert_msg" .libs/
$msg_
test 2> $error_out) || \
fail "failed to run gdb"
echo_v "Checking if assert message is in __glib_assert_msg"