[PATCH v2 0/5] Git-based modularization of test suite

Michal Sojka sojkam1 at fel.cvut.cz
Mon May 10 09:47:59 PDT 2010


Hi,

Git's test suite was finally reslicensed and we can use it for
notmuch. Here is the converted and modularized version of notmuch-test
script which uses git's test-lib.sh.

The conversion was done semi-automatically, so I hope I didn't
introduce to much errors in the tests.

Michal Sojka (5):
  Copy test framework from Git
  Update test framework for use with notmuch
  test: Update helper functions
  Convert the actual tests to the new framework
  test: Set all times to UTC

 test/Makefile                        |   49 ++
 test/README                          |  299 +++++++++
 test/aggregate-results.sh            |   34 +
 test/notmuch-test                    | 1114 +---------------------------------
 test/t0000-basic.sh                  |   88 +++
 test/t0001-new.sh                    |  164 +++++
 test/t0002-search.sh                 |  111 ++++
 test/t0003-json.sh                   |   46 ++
 test/t0004-thread-naming.sh          |  191 ++++++
 test/t0005-reply.sh                  |  122 ++++
 test/t0006-dump-restore.sh           |   30 +
 test/t0007-uuencode.sh               |   36 ++
 test/t0008-threading-out-of-order.sh |   31 +
 test/t0009-author-reordering.sh      |   35 ++
 test/t0010-from-line-heuristics.sh   |  214 +++++++
 test/test-lib.sh                     |  901 +++++++++++++++++++++++++++
 16 files changed, 2353 insertions(+), 1112 deletions(-)
 create mode 100644 test/Makefile
 create mode 100644 test/README
 create mode 100755 test/aggregate-results.sh
 create mode 100755 test/t0000-basic.sh
 create mode 100755 test/t0001-new.sh
 create mode 100755 test/t0002-search.sh
 create mode 100755 test/t0003-json.sh
 create mode 100755 test/t0004-thread-naming.sh
 create mode 100755 test/t0005-reply.sh
 create mode 100755 test/t0006-dump-restore.sh
 create mode 100755 test/t0007-uuencode.sh
 create mode 100755 test/t0008-threading-out-of-order.sh
 create mode 100755 test/t0009-author-reordering.sh
 create mode 100755 test/t0010-from-line-heuristics.sh
 create mode 100755 test/test-lib.sh



More information about the notmuch mailing list