zsh-workers
 help / color / mirror / code / Atom feed
* pcre test failures
@ 2011-10-26  1:58 Vin Shelton
  2011-10-26  6:27 ` Phil Pennock
  0 siblings, 1 reply; 8+ messages in thread
From: Vin Shelton @ 2011-10-26  1:58 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-10-26 23:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-26  1:58 pcre test failures Vin Shelton
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

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).