Re: [pcre-dev] PCRE2: Early stage testers sought

Startseite
Nachricht löschen
Autor: Dagobert Michelsen
Datum:  
To: pcre-dev
Betreff: Re: [pcre-dev] PCRE2: Early stage testers sought
Hi Philip,

Am 23.09.2014 um 19:31 schrieb ph10@???:
> The code of PCRE2 is available for checking out from the SVN repository:
>
> svn co svn://vcs.exim.org/pcre2/code/trunk pcre2


I just tested on Solaris 10 Sparc and get the following error with automake 1.13.1
as I don’t have 1.14 at hand (currently building):

> dam@unstable10s [unstable10s]:/home/dam/work/pcre2 > automake
> Makefile.am:22: error: blank line following trailing backslash
> Makefile.am:132: error: blank line following trailing backslash
> zsh: 15267 exit 1     automake


Removing the backslashes solves the issue:

> dam@unstable10s [unstable10s]:/home/dam/work/pcre2 > svn diff Makefile.am
> Index: Makefile.am
> ===================================================================
> --- Makefile.am (revision 79)
> +++ Makefile.am (working copy)
> @@ -18,7 +18,7 @@
> # doc/pcre-config.txt \
> # doc/pcregrep.txt \
> # doc/pcretest.txt \
> -# NEWS \
> +# NEWS
>
> # FIXME
> #dist_html_DATA = \
> @@ -128,7 +128,7 @@
> # doc/pcre2precompile.3 \
> # doc/pcre2sample.3 \
> # doc/pcre2stack.3 \
> -# doc/pcre2syntax.3 \
> +# doc/pcre2syntax.3
>
> # The Libtool libraries to install. We'll add to this later.


When compiling without unicode support the testsuite is failing because one test for unicode is run
which should be skipped or XFAILed:

> =======================================
>    PCRE2 10.00-DEV: ./test-suite.log
> =======================================

>
> # TOTAL: 2
> # PASS: 1
> # SKIP: 0
> # XFAIL: 0
> # FAIL: 1
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: RunGrepTest
> =================
>
>
> Testing pcre2grep version 10.00-DEV 2014-99-99
> No differences encountered
> No differences encountered
> ** Unknown -C option 'utf'
> Testing pcre2grep main features
> No differences encountered
> Testing pcre2grep UTF-8 features
> pcre2grep: Error in command-line regex at offset 0: this version of PCRE does not have UTF or Unicode property support
> pcre2grep: Error in command-line regex at offset 0: this version of PCRE does not have UTF or Unicode property support
> --- ./testdata/grepoutput8      Wed Sep 24 10:27:02 2014
> +++ testtrygrep Wed Sep 24 11:11:37 2014
> @@ -1,12 +1,4 @@
>  ---------------------------- Test U1 ------------------------------
> -1:X one
> -2:X two
> 5:X five3:X three^L4:X four
> -6:X six
> -7:X seven
> 8:X eight
> 9:X nine
> 10:X ten
> -RC=0
> +RC=2
>  ---------------------------- Test U2 ------------------------------
> -12-Before 111
> -13-Before 222
> 14-Before 333
> 15:Match
> -16-After 111
> -17-After 222
> 18-After 333
> -RC=0
> +RC=2



Apart from that it looks good. Additionally I am setting up a buildbot configuration for pcre2
as I already did for pcre.


Best regards

— Dago


--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896