From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 778 invoked by alias); 10 Jul 2015 23:55:04 -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: 35772 Received: (qmail 18207 invoked from network); 10 Jul 2015 23:55:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=LpqcP9xqeXjSiKi6Jb+J2VrFPPin4yUk/zQ1EKCY5DY=; b=FMt35a9BT1CYXVOLRZTjqMIgDZgbAWEQeYiFA1Eh/+ww3Osounz9HknZGm2I3YwnDO dC3mXsJZLl24nJdzZ58TImsU6qJRaeR7C6q3Fr6rUK/UAnXJprzw+lp1bmAKWLtnLsPB BB2HKKTVv26I6KKvIwA2RkvIti3t7E4tB2E3aMh0AF0i++8DPOx3nvLxJaeW3VZUkg6H fIebHlyKoHUY8h6vadC3DF6zhYiO+LDOI5P8YvWG8SCQSae2PaP3O9lP36v7JZrZiYKI nlfS6gXieZAlruIrhLH/v/0r/Pvyjq0sTv/EoQYp5qV7bMQcIzaYi2I02QCnvLlON2So 9E/Q== X-Gm-Message-State: ALoCoQnljH0zQD03qeMo6RlYveNrRw9K7zxGTD7huElYSZURtiJRi4+gA7DvaGc12+TLDVJt9OGQ X-Received: by 10.182.86.72 with SMTP id n8mr22379214obz.9.1436572498610; Fri, 10 Jul 2015 16:54:58 -0700 (PDT) From: Bart Schaefer Message-Id: <150710165424.ZM10486@torch.brasslantern.com> Date: Fri, 10 Jul 2015 16:54:24 -0700 In-Reply-To: <20150710183112.GJ1869@tarsus.local2> Comments: In reply to Daniel Shahaf "Re: PATCH: ztrftime: Pass everything unhandled to the system strftime()" (Jul 10, 6:31pm) References: <20150709094122.17abacc8@pwslap01u.europe.root.pri> <1436435887-28736-1-git-send-email-mikachu@gmail.com> <20150709111756.631dac65@pwslap01u.europe.root.pri> <20150710143708.71ec8178@pwslap01u.europe.root.pri> <20150710183112.GJ1869@tarsus.local2> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Zsh Hackers' List" Subject: ZTST_skip (was Re: PATCH: ztrftime ...) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 10, 6:31pm, Daniel Shahaf wrote: } } Perhaps ZTST_skip should be converted to a statement? e.g., } ZTST_skip "[[ -N file ]] not supported on Cygwin" } where ZTST_skip is defined such that the remainder of the test case } isn't executed. Not really possible; each test chunk is run by "eval" inside an anonymous function scope, so there's really no way to break out of it early without the entire test script being aborted. Given that one already needs some kind of test to decide whether to set a value for ZTST_skip, it seems reasonable to ask that the remainder of the test chunk be in an "else" branch of whatever test that is.