Carlo Marcelo Arenas Belón
acc520924c
test: avoid failing RunTest if pcre2test -S is not supported ( #37 )
...
* test: avoid failing RunTest if pcre2test -S is not supported
If `pcre2test -S` is not supported then then avoid checking for it
in a test.
There is already a conditional check for it to be used when it is
needed and it is available, so adjust that as well.
* pcre2test: update list of platform support for -S
Minix 3 has a BSD userspace and now works fine, but Haiku still
doesn't support stack limits, so update accordingly.
2021-11-09 17:23:02 +00:00
Philip.Hazel
7eb23f423e
Final file tidies for 10.36
2020-12-04 14:30:03 +00:00
Philip.Hazel
9e15c97b6d
Fix bug in RunTest: not reporting failure in test 2, and fix bugs in RunTest
...
and RunTest.bat causing test 2 to fail when not building in source directory.
2020-11-22 15:16:05 +00:00
Philip.Hazel
ed63958dad
Make RunTest check stack settablility using the -bigstack value.
2018-12-07 16:32:05 +00:00
Philip.Hazel
1c79bdf36f
Fix global search/replace in pcre2test and pcre2_substitute() when the pattern
...
matches an empty string, but never at the starting offset.
2018-07-02 10:54:03 +00:00
Philip.Hazel
fabea723cf
Typos in documentation and comments noted by Jason Hood.
2018-06-17 14:13:28 +00:00
Philip.Hazel
810d9b6da5
Code tidies for 10.30-RC1 release candidate.
2017-07-19 16:04:15 +00:00
Philip.Hazel
c4fac10bad
Implement PCRE2_LITERAL and REG_NOSPEC.
2017-06-15 16:41:44 +00:00
Philip.Hazel
dfc9712bcd
Add additional compile options and PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES.
2017-05-17 17:55:11 +00:00
Philip.Hazel
ab1e3c9309
Refactor to avoid sanitize warnings when accessing the variable size ovector in
...
the backtracking frame. Fixes oss-fuzz issue 1465. Also make -bigstack in
RunTest allocate a 64Mb stack for use with clang sanitizing.
2017-05-10 18:21:03 +00:00
Philip.Hazel
6e943e5f47
Experimental pattern conversion code (no public documentation yet).
2017-05-06 16:19:39 +00:00
Philip.Hazel
14989bd454
Add explicit heap limiting options to pcre2_match(), with associated features
...
for listing, configuring, etc.
2017-04-11 11:47:25 +00:00
Philip.Hazel
ae37c6e886
Add "framesize" to pcre2test to display pcre2_match() frame size, using the new
...
PCRE2_INFO_FRAMESIZE option for pcre2_pattern_info().
2017-03-16 17:55:55 +00:00
Philip.Hazel
deee290c39
Remove special stack handling for test 2 - no longer needed.
2017-03-10 17:48:48 +00:00
Philip.Hazel
ca1ecd41a1
File tidies for 10.23-RC1
2017-01-16 17:40:47 +00:00
Philip.Hazel
4c69f50e69
Fix bad behaviour for subroutine call in lookbehind when the called subroutine
...
contained an option setting such as (?s) and PCRE2_ANCHORED was set.
2016-11-23 17:17:57 +00:00
Philip.Hazel
99264dfc23
Major refactoring of pcre2_compile.c; see ChangeLog and HACKING.
2016-10-02 16:01:01 +00:00
Philip.Hazel
921636f6fc
Documentation detrail and make HTML for 10.22-RC1.
2016-06-29 16:52:05 +00:00
Philip.Hazel
b7850e4fca
Upgrade RunTest to try test 2 with a large stack if it fails with a smaller one
...
when running the interpreter.
2016-06-22 19:23:33 +00:00
Philip.Hazel
0a29ecbe02
Return an error code when pcre2_get_error_message() does not recognize an error
...
code, and add a pcre2test facility for testing this.
2016-06-17 11:30:27 +00:00
Philip.Hazel
96926349bc
Implemented pcre2_code_copy().
2016-02-26 18:26:17 +00:00
Philip.Hazel
f345e7dd9a
Update valgrind parameters.
2016-01-30 15:19:48 +00:00
Philip.Hazel
dffd559601
File tidies, version updates, etc. for 10.21-RC1
2015-12-17 18:44:06 +00:00
Philip.Hazel
860b6f228a
Run test 8 (sizes and offsets and mode-specific things) for link size 3 and 4
...
as well as for link size 2, with different output files in each case.
2015-11-14 13:22:34 +00:00
Philip.Hazel
0809e3b81a
Fix bug: test 22 not skipped when Unicode not configured.
2015-10-17 18:27:38 +00:00
Philip.Hazel
3263d44b97
Implement --never-backslash-C
2015-10-17 13:50:56 +00:00
Philip.Hazel
297024d65b
Create a suppressions file for valgrind with JIT.
2015-09-11 16:56:47 +00:00
Philip.Hazel
bb68c64c40
Implement #newline_default and adjust testdata and scripts to use it.
2015-09-08 17:01:17 +00:00
Philip.Hazel
4378cd97ef
Fix typo in new test.
2015-08-18 10:39:59 +00:00
Philip.Hazel
ee41aa906f
Runtime UTF checks now take not of the starting offset.
2015-08-18 10:34:05 +00:00
Philip.Hazel
1bcfb856f5
Fix pedantic infelicities shown up by clang and a UTF-8 checking overflow bug.
2015-07-24 13:30:50 +00:00
Philip.Hazel
07a8fdce25
Source and document file tidies for 10.20-RC1.
2015-06-18 16:39:25 +00:00
Philip.Hazel
1a97cc7232
Allow '-' before "nojit" and other arguments for RunTest because I keep
...
forgetting.
2015-04-24 15:23:15 +00:00
Philip.Hazel
5b5cfed910
Add teststderr to list of files to clean up.
2015-04-18 16:00:35 +00:00
Philip.Hazel
49a7eada2d
Final source file tidies for 10.10-RC1
2015-02-20 11:20:40 +00:00
Philip.Hazel
3e253d04de
Update RunTest to handle locales better.
2015-02-07 17:45:55 +00:00
Philip.Hazel
5438fc8a6a
Add serialization functions and tests with updated pcre2test. Fix
...
PCRE2_INFO_SIZE issues.
2015-01-23 16:51:47 +00:00
Philip.Hazel
eb4fffbbf4
More documentation and file tidies.
2014-11-21 16:45:06 +00:00
Philip.Hazel
ba1e2e0cbb
Add additional tests and fix some compiler warnings; update stack information.
2014-11-21 12:19:37 +00:00
Philip.Hazel
d7495ff642
Finish off changes of JIT stack assignment
2014-11-08 16:07:30 +00:00
Philip.Hazel
8aa511a98b
Improve test coverage; minor typo in JIT test and other minor buglets fixed.
2014-10-31 12:34:34 +00:00
Philip.Hazel
959bf278ea
Update clean up of RunTest and RunGrepTest working files.
2014-10-28 10:19:50 +00:00
Philip.Hazel
c3799e750f
Tidy a lot of files (remove trailing spaces)
2014-10-20 17:28:49 +00:00
Philip.Hazel
eb59159ce0
Change --enable-pcre8 etc to --enable-pcre2-8 etc and consequent changes;
...
change "pcre" to "pcre2" in a number of files.
2014-10-17 15:52:57 +00:00
Philip.Hazel
54b96723cd
Make scripts Solaris-compatible.
2014-10-16 16:22:44 +00:00
Philip.Hazel
722817013c
Fix several bugs concerned with different configurations.
2014-10-15 15:57:49 +00:00
Philip.Hazel
3934d4b4fc
Refactoring some of the code in RunTest
2014-10-12 16:55:21 +00:00
Philip.Hazel
62d728bb0b
Remove leftchar/rightchar from the public API.
2014-10-10 11:55:28 +00:00
Philip.Hazel
2148a4093e
Work on the tests for JIT.
2014-10-06 17:28:42 +00:00
Philip.Hazel
eee8530add
API documentation and a lot of little related changes to the code.
2014-09-19 07:43:39 +00:00