mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: add prereqs check in test_emacs_expect_t
test_emacs may update the external prereqs, in which case we want to skip the test rather than fail. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
parent
7579f3ac6b
commit
049a652da7
1 changed files with 3 additions and 0 deletions
|
@ -592,6 +592,9 @@ test_emacs_expect_t () {
|
|||
exec 1>&6 2>&7 # Restore stdout and stderr
|
||||
inside_subtest=
|
||||
|
||||
# test_emacs may update missing external prerequisites
|
||||
test_check_missing_external_prereqs_ "$test_subtest_name" && return
|
||||
|
||||
# Report success/failure.
|
||||
result=$(cat OUTPUT)
|
||||
if [ "$result" = t ]
|
||||
|
|
Loading…
Reference in a new issue