From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18696 invoked by alias); 26 Oct 2011 18:30:26 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29867 Received: (qmail 26774 invoked from network); 26 Oct 2011 18:30:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <111026113001.ZM10650@torch.brasslantern.com> Date: Wed, 26 Oct 2011 11:30:01 -0700 In-reply-to: Comments: In reply to "Jun T." "Re: pcre test failures" (Oct 26, 7:49pm) References: <20111026062750.GA27151@redoubt.spodhuis.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Jun T." , zsh-workers@zsh.org Subject: Re: pcre test failures MIME-version: 1.0 Content-type: text/plain; charset=us-ascii 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