Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

pcre test failures



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



Messages sorted by: Reverse Date, Date, Thread, Author