zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "Jun T." <takimoto-j@kba.biglobe.ne.jp>, zsh-workers@zsh.org
Subject: Re: pcre test failures
Date: Wed, 26 Oct 2011 11:30:01 -0700	[thread overview]
Message-ID: <111026113001.ZM10650@torch.brasslantern.com> (raw)
In-Reply-To: <a06001001cacd95106de1@kba.biglobe.ne.jp>

On Oct 26,  7:49pm, Jun T. wrote:
}
} To avoid this the "%prep" section of the V07pcre.ztst must be modified
} as follows:
} 
} if zmodload zsh/pcre 2>/dev/null; then
}   ....(current %prep section goes into here)
} else
}   ZTST_unimplemented="the zsh/pcre module is not available"
} fi

Or just this:

--- ../zsh-forge/current/Test/V07pcre.ztst      2011-10-24 04:31:25.000000000
-0700
+++ ./Test/V07pcre.ztst 2011-10-26 11:27:47.000000000 -0700
@@ -1,6 +1,10 @@
 %prep
 
-  zmodload zsh/pcre
+  if ! zmodload zsh/pcre 2>/dev/null
+  then
+    ZTST_unimplemented="the zsh/pcre module is not available"
+    return 0
+  fi
   setopt rematch_pcre
 # Find a UTF-8 locale.
   setopt multibyte


  parent reply	other threads:[~2011-10-26 18:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26  1:58 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 [this message]
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=111026113001.ZM10650@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=takimoto-j@kba.biglobe.ne.jp \
    --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).