Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 341902 Details for
Bug 438620
dev-libs/glib-2.32.4-r1 - src_test(): FAIL: run-assert-msg-test.sh
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
run-assert-msg-test.sh replacement
run-assert-msg-test.sh (text/plain), 1.07 KB, created by
Roman Žilka
on 2013-03-13 15:23:07 UTC
(
hide
)
Description:
run-assert-msg-test.sh replacement
Filename:
MIME Type:
Creator:
Roman Žilka
Created:
2013-03-13 15:23:07 UTC
Size:
1.07 KB
patch
obsolete
>#! /bin/sh > >fail () >{ > echo "Test failed: $*" > exit 1 >} > >echo_v () >{ > if [ "$verbose" = "1" ]; then > echo "$*" > fi >} > >error_out=/dev/null >if [ "$1" = "-v" ]; then > verbose=1 > error_out=/dev/stderr >fi > >if [ -z "$LIBTOOL" ]; then > if [ -f ../libtool ]; then > LIBTOOL=../libtool > else > LIBTOOL=libtool > fi >fi > >echo_v "Running assert-msg-test" >OUT=$(./assert-msg-test 2>&1) && fail "assert-msg-test should abort" >echo "$OUT" | grep -q '^ERROR:.*assert-msg-test.c:.*:.*main.*: assertion failed: (42 < 0)' || \ > fail "does not print assertion message" > >if ! type gdb >/dev/null 2>&1; then > echo_v "Skipped (no gdb installed)" > exit 0 >fi > >echo_v "Running gdb on assert-msg-test" >OUT=$($LIBTOOL --mode=execute gdb --batch -x ${srcdir:-.}/assert-msg-test.gdb ./assert-msg-test 2> $error_out) || fail "failed to run gdb" > >echo_v "Checking if assert message is in __glib_assert_msg" >if ! echo "$OUT" | grep -q '^$1.*"ERROR:.*assert-msg-test.c:.*:.*main.*: assertion failed: (42 < 0)"'; then > fail "__glib_assert_msg does not have assertion message" >fi > >echo_v "All tests passed."
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 438620
:
326714
| 341902 |
341904
|
494832
|
494834
|
494836
|
494838
|
494840
|
494842
|
494844
|
494846