mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
test: redirect gdb output to a file.
It seems that the normal output redirection in the test suite doesn't work for gdb, but it's nice to have output in a file for debugging.
This commit is contained in:
parent
24b24be151
commit
de262a2026
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ if test_require_external_prereq gdb; then
|
||||||
# -tty /dev/null works around a conflict between the 'timeout' wrapper
|
# -tty /dev/null works around a conflict between the 'timeout' wrapper
|
||||||
# and gdb's attempt to control the TTY.
|
# and gdb's attempt to control the TTY.
|
||||||
export MAIL_DIR
|
export MAIL_DIR
|
||||||
gdb -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.gdb notmuch >/dev/null 2>/dev/null
|
gdb -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.gdb notmuch 1>gdb.out 2>&1
|
||||||
|
|
||||||
# Get the final, golden output
|
# Get the final, golden output
|
||||||
notmuch search '*' > expected
|
notmuch search '*' > expected
|
||||||
|
|
Loading…
Reference in a new issue