mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Fix run-assert-msg-test to work with libtool-2.2.x.
This commit is contained in:
parent
0a51b58e07
commit
96d105906e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user