aboutsummaryrefslogtreecommitdiff
path: root/test/basic
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2012-10-30 22:32:34 +0200
committerDavid Bremner <bremner@debian.org>2012-10-31 16:44:55 -0300
commit519be192501bae330db78af728c4d6e26b9053ee (patch)
treef3c877b091ccd8a914cae3e9e8019e8d00fb3a0e /test/basic
parentd86522637a7cd0455c127284ebccf3645d681441 (diff)
test: add new test tool parse-time for date/time parser
Add a smoke testing tool to support testing the date/time parser module directly and independent of the rest of notmuch. Credits to Michal Sojka <sojkam1@fel.cvut.cz> for the stdin parsing idea and consequent massive improvement in testability.
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 3b635c83..c47197cb 100755
--- a/test/basic
+++ b/test/basic
@@ -54,7 +54,7 @@ test_begin_subtest 'Ensure that all available tests will be run by notmuch-test'
eval $(sed -n -e '/^TESTS="$/,/^"$/p' $TEST_DIRECTORY/notmuch-test)
tests_in_suite=$(for i in $TESTS; do echo $i; done | sort)
available=$(find "$TEST_DIRECTORY" -maxdepth 1 -type f -perm +111 | \
- sed -r -e "s,.*/,," -e "/^(aggregate-results.sh|notmuch-test|smtp-dummy|test-verbose|symbol-test|arg-test)$/d" | \
+ sed -r -e "s,.*/,," -e "/^(aggregate-results.sh|notmuch-test|smtp-dummy|test-verbose|symbol-test|arg-test|parse-time)$/d" | \
sort)
test_expect_equal "$tests_in_suite" "$available"