From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15846 invoked by alias); 22 Jan 2015 03:42:18 -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: 34338 Received: (qmail 21885 invoked from network); 22 Jan 2015 03:42:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) 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, T_FROM_12LTRDOM,T_HDRS_LCASE,T_MANY_HDRS_LCASE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=CoYIqc8G c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=YNv0rlydsVwA:10 a=XOmmhLwHI-rK4b16MEsA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <150121194138.ZM10468@torch.brasslantern.com> Date: Wed, 21 Jan 2015 19:41:38 -0800 X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Subject: Modules that load but do nothing MIME-version: 1.0 Content-type: text/plain; charset=us-ascii If you configure --disable-dynamic and then force modules to be linked by changing config.modules to "link=static", the build will create the necessary .a file so that the linking phase completes, and loading the module with "zmodload" will return a zero status; but it is possible in this case for some modules to load with no features. The plainest example of this is zsh/pcre, which will compile and link but fail the V07 test suite. Are there other such modules? zsh/regex and zsh/curses, perhaps? There are no tests applied to the latter; the former is tested in C02. I'd suggest that at least we do the following: diff --git a/Test/V07pcre.ztst b/Test/V07pcre.ztst index 3a65331..3c25be2 100644 --- a/Test/V07pcre.ztst +++ b/Test/V07pcre.ztst @@ -1,6 +1,6 @@ %prep - if ! zmodload zsh/pcre 2>/dev/null + if ! zmodload -F zsh/pcre C:pcre-match 2>/dev/null then ZTST_unimplemented="the zsh/pcre module is not available" return 0