aboutsummaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-05-26 20:27:58 +0400
committerCarl Worth <cworth@cworth.org>2011-05-26 14:13:48 -0700
commit5297b361d1c5c7dd62b80da0327c091e4c23b140 (patch)
tree6c84aa0124ecfc538d20997a099ec692eec27107 /test/basic
parentb15cfd7ffae961b94f45e4402ede05146cf9416d (diff)
test: add test-lib.el file with `visible-buffer-string' function
The patch adds test-lib.el file for Emacs tests auxiliary stuff. Currently, it implements two functions: `visible-buffer-string' and `visible-buffer-substring'. These are similar to standard counterparts without "visible-" prefix but exclude invisible text. The functions are not used anywhere at the moment but should be useful for testing hiding/showing in the Emacs interface. Edited-by: Carl Worth <cworth@cworth.org> Fixed "basic" test to ignore new test-lib.el file.
Diffstat (limited to 'test/basic')
-rwxr-xr-xtest/basic2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/basic b/test/basic
index 3b43ad9..13e0225 100755
--- a/test/basic
+++ b/test/basic
@@ -55,7 +55,7 @@ eval $(sed -n -e '/^TESTS="$/,/^"$/p' notmuch-test ../notmuch-test)
tests_in_suite=$(for i in $TESTS; do echo $i; done | sort)
available=$(ls -1 ../ | \
sed -r -e "/^(aggregate-results.sh|Makefile|Makefile.local|notmuch-test)/d" \
- -e "/^(README|test-lib.sh|test-results|tmp.*|valgrind|corpus*)/d" \
+ -e "/^(README|test-lib.sh|test-lib.el|test-results|tmp.*|valgrind|corpus*)/d" \
-e "/^(emacs.expected-output|smtp-dummy|smtp-dummy.c|test-verbose)/d" \
-e "/^(test.expected-output|.*~)/d" | sort)
test_expect_equal "$tests_in_suite" "$available"