diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-02-13 00:29:00 +0100 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2017-02-13 09:38:15 +0800 |
| commit | ca3b42a46e7b6894e75c6755927544845a5e3e97 (patch) | |
| tree | a22131e72912f874e4b93a118f3b4ff919efa9a3 /Documentation | |
| parent | 3be53df1165cf0603282cb3138a2ad9df36048a7 (diff) | |
| download | sparse-dev-ca3b42a46e7b6894e75c6755927544845a5e3e97.tar.gz | |
testsuite: check the nbr of times a pattern should be present
Complement the 'check-output-contains/excludes' tags to also
be able to specify the number of times a given pattern should
occurs in the output.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/test-suite | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/test-suite b/Documentation/test-suite index a0f205f4..2e786bbf 100644 --- a/Documentation/test-suite +++ b/Documentation/test-suite @@ -49,6 +49,10 @@ check-output-excludes: <pattern> (optional) Several such tags can be given, in which case the output must contains none of the patterns. +check-output-pattern-<nbr>-times: <pattern> (optional) + Similar than the contains/excludes her above, but with full control + of the number of times the pattern should occurs in the output. + Using test-suite ~~~~~~~~~~~~~~~~ |
