From 5916c4634c7f36a42b59c261b4fb76212fbc4c96 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 3 Oct 2014 22:22:09 +0200 Subject: 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. --- test/T000-basic.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/T000-basic.sh b/test/T000-basic.sh index ebbb6d2e..bf08f3e6 100755 --- a/test/T000-basic.sh +++ b/test/T000-basic.sh @@ -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 -- cgit v1.2.3