diff options
author | Mark Walters <markwalters1009@gmail.com> | 2013-11-13 12:51:27 +0000 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2013-11-13 21:24:05 -0400 |
commit | 919ca315811b01471ce2df0f10e17e71fe8a2f42 (patch) | |
tree | fd341afcafe94e6d1384cb1fe5c2b5a9fa35c6f7 /contrib/notmuch-pick/run-tests.sh | |
parent | 44bff5ce8cbf24cd0f955e0cb9bf7e03eb6c635c (diff) |
remove notmuch-pick
Diffstat (limited to 'contrib/notmuch-pick/run-tests.sh')
-rwxr-xr-x | contrib/notmuch-pick/run-tests.sh | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/contrib/notmuch-pick/run-tests.sh b/contrib/notmuch-pick/run-tests.sh deleted file mode 100755 index 1767949c..00000000 --- a/contrib/notmuch-pick/run-tests.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/usr/bin/env bash - -set -eu - -fail() { - echo ERROR $1 - exit 1 -} - -TESTS="emacs-tree" -TESTFILES="$TESTS tree.expected-output" - -export PICK_DIR="`cd \`dirname "$0"\` && pwd`" -PICK_TEST_DIR="$PICK_DIR/test" - - -for f in $TESTFILES -do - test -f "$PICK_TEST_DIR/$f" || test -d "$PICK_TEST_DIR/$f" || fail "$PICK_TEST_DIR/$f does not exist" -done - -cd "$PICK_DIR/../../test" - -test -x ../notmuch || fail "`cd .. && pwd`/notmuch has not been built" - -for f in $TESTFILES -do - if test -f "$f" - then - fail "$f exists" - fi -done - -trap "rm -f $TESTFILES" 0 - -for f in $TESTFILES -do - ln -s "$PICK_TEST_DIR/$f" . -done - -#don't exec -- traps would not run. -for f in $TESTS -do - echo $f - ./$f -done |