diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-02-29 00:36:26 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-03-01 07:46:03 -0800 |
commit | 235aad711285fc6978f6ff26397743930b23f79a (patch) | |
tree | 06c27072a115e58d1373382a4c3c8989d921e118 /HACKING | |
parent | 3732fd2b98692a1e58fa7254fc0cacab8136fb11 (diff) | |
download | grep-235aad711285fc6978f6ff26397743930b23f79a.tar.gz |
tests: test for problems with long matches
The new test is expensive, so add a category of expensive tests,
which are normally not run, and put the new test in this new
category. The idea of having expensive tests is taken from coreutils.
* HACKING: Mention RUN_EXPENSIVE_TESTS and similar env vars.
* Makefile.am (check-expensive): New rule.
* tests/Makefile.am (TESTS): Add big-match.
* tests/init.cfg (expensive_): New function, from coreutils.
* tests/big-match: New file.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -415,6 +415,12 @@ as possible. Note to run tests/new-test in isolation you can do: (cd tests && make check TESTS=new-test VERBOSE=yes) +Variables that are significant for tests with their default values are: + + VERBOSE=yes + RUN_EXPENSIVE_TESTS=no + SHELL=/bin/sh + There are many tests in the tests/ directories. Use one of the init.sh-using scripts as a template. |