Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1 |
#
abce74f4 |
| 03-Aug-2015 |
John Marino <draco@marino.st> |
Add AT&T Research regex(3) regression testsuite
Before we replace our ancient regex, we need to baseline it. This is a well-known and maintained regex testsuite from AT&T Research. The following com
Add AT&T Research regex(3) regression testsuite
Before we replace our ancient regex, we need to baseline it. This is a well-known and maintained regex testsuite from AT&T Research. The following commands from tools/regression/lib/libc-regex can be used:
Make full-test-run (this runs all tests consecutively)
make test-basic make test-categorize make test-nullsubexpr make test-leftassoc make test-rightassoc make test-forcedassoc make test-repetition
To change the locale, set LOCALE (e.g. make LOCAL=en_US.UTF-8 test-basic) These are the baseline results:
basic : TEST testregex, 539 tests, 0 errors categorize : TEST testregex, 20 tests, 0 errors nullsubexpr : TEST testregex, 84 tests, 31 errors leftassoc : TEST testregex, 12 tests, 12 errors rightassoc : TEST testregex, 24 tests, 0 errors forcedassoc : TEST testregex, 48 tests, 8 errors repetition : TEST testregex, 129 tests, 37 errors
UNSUPPORTED: AUGMENTED,SHELL,CLASS_ESCAPE,COMMENT,DELIMITED,DISCIPLINE,ESCAPE,LEFT, LENIENT,LITERAL,MINIMAL,MULTIPLE,MULTIREF,MUSTDELIM,NULL,RIGHT, SHELL_DOT,SHELL_ESCAPED,SHELL_GROUP,SHELL_PATH,SPAN,regnexec, regsubcomp,redecomp
show more ...
|