From: Felipe Contreras Date: Sat, 1 May 2021 11:54:15 +0000 (-0500) Subject: test: add prereqs check in test_emacs_expect_t X-Git-Tag: archive/debian/0.33_rc0-1~125 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=049a652da7a692704348085a817b0086a44d5435 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 --- diff --git a/test/test-lib.sh b/test/test-lib.sh index 1067316d..72ac2e89 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -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 ]