aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/docs/Makefile
diff options
context:
space:
mode:
authorVladimir Panteleev <notmuch@thecybershadow.net>2017-08-17 17:51:42 +0000
committerDavid Bremner <david@tethera.net>2017-08-30 07:24:44 -0300
commit95b82bb326eccbc9a1e683b5764b93795b166ca2 (patch)
treee4e0f6dbfbf68eefe07e222bd12d755c37421af1 /bindings/python/docs/Makefile
parent06cd6513fa4b23541909fab6ace2c3ecfe455651 (diff)
test: Fix T050-new.sh on some Travis CI machines
On some system configurations, setting a breakpoint on the "add_file" function then issuing "continue" in gdb causes the debugger to seemingly jump over the add_file invocation. This results in a test failure, as the "Handle files vanishing between scandir and add_file" subtest expects add_file to be called and fail due to the vanishing file. The compiler optimization level also plays a role - the problem can be reproduced with CFLAGS having -O2 but not -Og. This problem was observed manifesting as a test failure on Travis CI configured with "dist: trusty" and "sudo: false". It was not reproducible on a local Docker image of Travis' runtime environment, so Travis' virtualization infrastructure likely plays a role as well. * T050-new.sh: Breakpoint notmuch_database_add_message instead of add_file to the same effect, and avoid bad gdb behaviour on Travis CI. Amended by db: s/notmuch_database_add_message/notmuch_database_index_file/ Somehow the wrapper function doesn't work as a breakpoint; perhaps due to inlining.
Diffstat (limited to 'bindings/python/docs/Makefile')
0 files changed, 0 insertions, 0 deletions