10 TESTS="emacs-pick emacs-pick-sync"
11 TESTFILES="$TESTS pick.expected-output"
13 export PICK_DIR="`cd \`dirname "$0"\` && pwd`"
14 PICK_TEST_DIR="$PICK_DIR/test"
19 test -f "$PICK_TEST_DIR/$f" || test -d "$PICK_TEST_DIR/$f" || fail "$PICK_TEST_DIR/$f does not exist"
22 cd "$PICK_DIR/../../test"
24 test -x ../notmuch || fail "`cd .. && pwd`/notmuch has not been built"
34 trap "rm -f $TESTFILES" 0
38 ln -s "$PICK_TEST_DIR/$f" .
41 #don't exec -- traps would not run.