]> git.notmuchmail.org Git - notmuch/blobdiff - test/T380-atomicity.sh
test: allow user to choose which gdb to run tests with
[notmuch] / test / T380-atomicity.sh
index 845dfde75fd6e8bae20283da3285d3046b498761..c6a9fb980bf0d4678a444939f5bb97ddd957747a 100755 (executable)
@@ -64,7 +64,7 @@ if test_require_external_prereq gdb; then
     # -tty /dev/null works around a conflict between the 'timeout' wrapper
     # and gdb's attempt to control the TTY.
     export MAIL_DIR
-    gdb -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.py notmuch 1>gdb.out 2>&1
+    ${TEST_GDB} -tty /dev/null -batch -x $TEST_DIRECTORY/atomicity.py notmuch 1>gdb.out 2>&1
 
     # Get the final, golden output
     notmuch search '*' > expected