From: Vin Shelton <acs@alumni.princeton.edu>
To: zsh-workers@zsh.org
Subject: pcre test failures
Date: Tue, 25 Oct 2011 21:58:00 -0400 [thread overview]
Message-ID: <CACeGjnUE1UFBSbgUVfgAn2ZfZLOwyn_NZzoXcJXy3juHQHmGnQ@mail.gmail.com> (raw)
Phil et al,
I'm getting the following failure on the new pcre test:
--- zsh-2011-10-19/check.out
+++ zsh-2011-10-25/check.out
@@ -98,0 +99,12 @@
+/opt/src/zsh-2011-10-25/Test/V07pcre.ztst: starting.
+(eval):1: failed to load module `zsh/pcre':
/opt/build/zsh-2011-10-25/Test/Modules/zsh/pcre.so: cannot open shared
object file: No such file or directory
+Testing PCRE multibyte with locale en_US.UTF-8
+Test /opt/src/zsh-2011-10-25/Test/V07pcre.ztst failed: bad status 2,
expected 0 from:
+ [[ 'foo→bar' =~ .([^[:ascii:]]). ]]
+ print $MATCH
+ print $match[1]
+Error output:
+(eval):1: failed to load module `zsh/pcre':
/opt/build/zsh-2011-10-25/Test/Modules/zsh/pcre.so: cannot open shared
object file: No such file or directory
+(eval):1: -pcre-match not available for regex
+Was testing: Basic non-ASCII regexp matching
+/opt/src/zsh-2011-10-25/Test/V07pcre.ztst: test failed.
@@ -108 +120 @@
-40 successful test scripts, 0 failures, 0 skipped
+40 successful test scripts, 1 failure, 0 skipped
@@ -109,0 +122 @@
+make[1]: *** [check] Error 1
@@ -110,0 +124 @@
+make: *** [check] Error 2
Well, OK, I guess. I suppose I have to enable-pcre to make this work....
Once I '--enable-pcre' and turn "load=no" to "load=yes" in
config.modules, I still get this failure:
./V07pcre.ztst: starting.
Testing PCRE multibyte with locale en_US.UTF-8
Test ./V07pcre.ztst failed: bad status 2, expected 0 from:
[[ 'foo→bar' =~ .([^[:ascii:]]). ]]
print $MATCH
print $match[1]
Error output:
(eval):1: module `zsh/pcre' has no such feature: `C:pcre-match'
(eval):1: -pcre-match not available for regex
Was testing: Basic non-ASCII regexp matching
Hope this helps,
Vin
next reply other threads:[~2011-10-26 2:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-26 1:58 Vin Shelton [this message]
2011-10-26 6:27 ` Phil Pennock
2011-10-26 10:49 ` Jun T.
2011-10-26 12:48 ` Peter Stephenson
2011-10-26 18:15 ` Vin Shelton
2011-10-26 18:30 ` Bart Schaefer
2011-10-26 23:32 ` Phil Pennock
2011-10-26 11:34 ` Vin Shelton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACeGjnUE1UFBSbgUVfgAn2ZfZLOwyn_NZzoXcJXy3juHQHmGnQ@mail.gmail.com \
--to=acs@alumni.princeton.edu \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).