]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
perf-test: allow running test_emacs from performance test suite.
[notmuch] / test / test-lib.sh
index 89e5c6d8a70bf2402ffe0b875744fa81b40a2571..59b6079dd14acf6fedddc4dcd668fd147fdfb396 100644 (file)
@@ -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.