unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Mark test "error message from query_search_messages" (T060-count.sh) to require GDB
@ 2020-04-05  8:38 Milton Vandersloot
  2021-08-02 19:18 ` [PATCH 1/2] test/count: mark subtests needing gdb David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: Milton Vandersloot @ 2020-04-05  8:38 UTC (permalink / raw)
  To: notmuch@notmuchmail.org

Dear notmuch Developers

The test "error message from query_search_messages" in test/T060-count.sh needs GDB as external dependency but does not advocate so.
Below a sed script adding the requirement.

I have used ${TEST_GDB} here as this is the expression used in test/test-lib.sh at the end.
However, the test code base also has occurrences of "test_require_external_prereq gdb" (use grep or similar to find those).
I don't know which is the correct form but they should probably be unified.

Regards
Milton

# Mark tests properly which need GDB
sed -e "/test_begin_subtest [\"']error message from query_search_messages[\"']/ a test_require_external_prereq \\\${TEST_GDB}" \
	-i test/T060-count.sh || die

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-02 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-05  8:38 Mark test "error message from query_search_messages" (T060-count.sh) to require GDB Milton Vandersloot
2021-08-02 19:18 ` [PATCH 1/2] test/count: mark subtests needing gdb David Bremner
2021-08-02 19:18   ` [PATCH 2/2] test/atomicity: use ${TEST_GDB} in prereq test David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).