diff options
| author | Felipe Contreras <felipe.contreras@gmail.com> | 2021-05-01 06:54:15 -0500 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-05-01 21:15:10 -0300 |
| commit | 049a652da7a692704348085a817b0086a44d5435 (patch) | |
| tree | bbb9da9a5a31dcfca9ea4d96a08ef83ff3147929 /test/test-lib.sh | |
| parent | 7579f3ac6bc1de2b110661f30241e4c316f5f560 (diff) | |
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>
Diffstat (limited to 'test/test-lib.sh')
| -rw-r--r-- | test/test-lib.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 ] |
