Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 482AF10A29 for ; Fri, 31 Jan 2014 15:40:28 +0000 (UTC) Received: (qmail 18560 invoked by uid 500); 31 Jan 2014 15:40:27 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 18509 invoked by uid 500); 31 Jan 2014 15:40:27 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 18502 invoked by uid 99); 31 Jan 2014 15:40:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jan 2014 15:40:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jan 2014 15:40:23 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6CAEF238889B; Fri, 31 Jan 2014 15:40:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1563150 - /qpid/proton/trunk/tests/python/proton-test Date: Fri, 31 Jan 2014 15:40:02 -0000 To: commits@qpid.apache.org From: rhs@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140131154002.6CAEF238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rhs Date: Fri Jan 31 15:40:02 2014 New Revision: 1563150 URL: http://svn.apache.org/r1563150 Log: PROTON-503: report exit status properly Modified: qpid/proton/trunk/tests/python/proton-test Modified: qpid/proton/trunk/tests/python/proton-test URL: http://svn.apache.org/viewvc/qpid/proton/trunk/tests/python/proton-test?rev=1563150&r1=1563149&r2=1563150&view=diff ============================================================================== --- qpid/proton/trunk/tests/python/proton-test (original) +++ qpid/proton/trunk/tests/python/proton-test Fri Jan 31 15:40:02 2014 @@ -671,12 +671,17 @@ def runthrough(): limit = opts.count count = 0 +failures = False while limit == 0 or count < limit: count += 1 if runthrough(): + failures = True if count > 1: print " -- (failures after %s runthroughs)" % count else: continue -sys.exit(0) +if failures: + sys.exit(1) +else: + sys.exit(0) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org