[PATCH 0/9] test: cleanup and refactoring

Jani Nikula jani at nikula.org
Sun Feb 26 05:42:52 PST 2017


The first half is cleanups, throwing out unused stuff.

The second half requires test_begin_subtest before *all* subtests.

BR,
Jani.


Jani Nikula (9):
  test: remove unused regexp convenience variables
  test: remove unused filter functions
  test: remove unused test_external and test_external_without_stderr
  test: remove unused and no-op --long-tests parameter
  test: only accept short and long options, not silly in-betweens
  test: ensure test_begin_subtest has been called before test_expect_*
  test: drop the implicit prereq check mechanism from test_expect_*
  test: require test_begin_subtest before test_expect_success
  test: require test_begin_subtest before test_expect_code

 test/README                    |  17 ++--
 test/T000-basic.sh             |  44 ++++-------
 test/T010-help-test.sh         |  27 ++++---
 test/T020-compact.sh           |  10 ++-
 test/T050-new.sh               |   4 +-
 test/T070-insert.sh            |  34 ++++----
 test/T150-tagging.sh           |  13 ++-
 test/T160-json.sh              |   8 +-
 test/T190-multipart.sh         |  20 ++---
 test/T240-dump-restore.sh      |  33 +++++---
 test/T310-emacs.sh             |   9 +--
 test/T340-maildir-sync.sh      |   6 +-
 test/T350-crypto.sh            |   9 ++-
 test/T355-smime.sh             |   6 +-
 test/T380-atomicity.sh         |   3 +-
 test/T400-hooks.sh             |  18 +++--
 test/T530-upgrade.sh           |   5 +-
 test/T560-lib-error.sh         |   3 +-
 test/T570-revision-tracking.sh |  32 ++++----
 test/T600-named-queries.sh     |  12 +--
 test/test-lib.sh               | 176 ++++++++++-------------------------------
 test/test-verbose              |   6 +-
 22 files changed, 217 insertions(+), 278 deletions(-)

-- 
2.11.0



More information about the notmuch mailing list