X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=59b6079dd14acf6fedddc4dcd668fd147fdfb396;hb=a85c82f99a4a8971a057c4379aebf111439a1e52;hp=89e5c6d8a70bf2402ffe0b875744fa81b40a2571;hpb=371fa28ced91e0d0036a98403fab61e9f5301ba4;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index 89e5c6d8..59b6079d 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -603,20 +603,6 @@ $binary () { fi } -# Explicitly require external prerequisite. Useful when binary is -# called indirectly (e.g. from emacs). -# Returns success if dependency is available, failure otherwise. -test_require_external_prereq () { - local binary - binary="$1" - if [[ ${test_missing_external_prereq_["${binary}"]} == t ]]; then - # dependency is missing, call the replacement function to note it - eval "$binary" - else - true - fi -} - # You are not expected to call test_ok_ and test_failure_ directly, use # the text_expect_* functions instead.