[PATCH 2/2] test: Have notmuch-test use the modular test collections

2010-05-05 Thread Jesse Rosenthal
These two patches, it turns out, do not quite go all the way -- they do not set up the environment to be exactly as it was in the full test suite. (I discovered this because my modular test suite did not fail on the recent xapian error -- failure being success in this case.) Further patches,

Re: [PATCH 2/2] test: Have notmuch-test use the modular test collections

2010-05-04 Thread Jesse Rosenthal
These two patches, it turns out, do not quite go all the way -- they do not set up the environment to be exactly as it was in the full test suite. (I discovered this because my modular test suite did not fail on the recent xapian error -- failure being success in this case.) Further patches,

[PATCH 2/2] test: Have notmuch-test use the modular test collections

2010-04-30 Thread Jesse Rosenthal
Introduce two new functions (run_collection_setup_and_tests and run_test_suite) to notmuch-test. The first takes as an argument a subdir of test/tests and runs all .setup and .test files in there in order of their numerical prefix. The latter either runs all tests (if given "all" or no argument)