mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
test: check for debug symbols in notmuch
In the future, tests may rely on debug symbols being present in notmuch, so we plan to switch the default flags. The main purpose of this test is to help explain the perhaps mysterious failures of other tests which rely on symbols being present.
This commit is contained in:
parent
7f2cb3be4e
commit
5916c4634c
1 changed files with 5 additions and 0 deletions
|
@ -91,4 +91,9 @@ test_expect_equal \
|
|||
"$(dirname ${TEST_DIRECTORY})" \
|
||||
"$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')"
|
||||
|
||||
test_begin_subtest 'notmuch is compiled with debugging symbols'
|
||||
test_subtest_known_broken
|
||||
readelf --sections $(which notmuch) | grep \.debug
|
||||
test_expect_equal 0 $?
|
||||
|
||||
test_done
|
||||
|
|
Loading…
Reference in a new issue