From patchwork Mon Dec 3 14:55:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diego Novillo X-Patchwork-Id: 203377 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 6F26F2C007C for ; Tue, 4 Dec 2012 01:55:58 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1355151358; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type:Content-Disposition:User-Agent: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=hkrBMVGFTr1dOE6fsZ9r Leslqk8=; b=JwQ4a+zVcmzZHqwmLDKtjI0g2kdqPynIkQN4C+0v3nfYyhH3vbqd /TZjYbLYOm5sWLNP6aDkv1jkfWyamUENSLC/h9hes3cL6g6HvBGrG7DWeTCFtKj4 Zsxsdd/RBMs4K80CjTtRyQwnMiRLXDS03CnemLnrp0JfPNYiStn0/fA= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Google-DKIM-Signature:Received:Received:Received:Received:Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:Content-Disposition:User-Agent:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=q0Dqxv4VAbMVWX9KvQyfPKG2SUOHZBJh9gcR1EsaLSJb2a8YpSA9PTwiLcyeYQ IyY2kRrlXGCyAfLmdk/aaJJM99tBgJr2FWKtnwFndSUPzHqPDxAiTuLKl9mU7jVD Rx5WKhm5SUNao4oz6C9OoU+qig6j3fqVr+5XvcRR512q8=; Received: (qmail 30656 invoked by alias); 3 Dec 2012 14:55:54 -0000 Received: (qmail 30647 invoked by uid 22791); 3 Dec 2012 14:55:53 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-la0-f73.google.com (HELO mail-la0-f73.google.com) (209.85.215.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 03 Dec 2012 14:55:44 +0000 Received: by mail-la0-f73.google.com with SMTP id d3so200212lah.2 for ; Mon, 03 Dec 2012 06:55:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:organization:user-agent:x-gm-message-state; bh=uJvl/YRgEupQyf4QQQUY+NeEOIBnfmusiUFM4mZ5SjI=; b=OB7byA1DCYA+qszYvQ9MAzbzDWp0fhlrIzYwkKLftJRho0OAGEX8MJsvLo4IDvvd3u 3J8+tQx+x3Kj00rZtjj65qVYD6Hll/ntSPQfvjBVNPA2//EX8hRJpMTjOS7aLRbGBPZY OwpekPecb6Qjr+x3OR9cohYNLqCMclIag4IQYstkm1C5VxmC7Gnu6l6zlte0Hv69mVRw guUOOKk9fiSmObikbW/A6sMqHSn8+01gs0RdhUnvVKd7PHHJLdzheEMDUzHbc97Dvlqx ABkafPTMmYWmUZCkVnF75VhvTv8I/OKMcdp+8jVkEUrFeF+lSNI9RwSOFJwUZ7e8aMk/ FJSw== Received: by 10.14.208.198 with SMTP id q46mr10167721eeo.0.1354546542235; Mon, 03 Dec 2012 06:55:42 -0800 (PST) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id z47si3230770eel.0.2012.12.03.06.55.42 (version=TLSv1/SSLv3 cipher=AES128-SHA); Mon, 03 Dec 2012 06:55:42 -0800 (PST) Received: from torture.tor.corp.google.com (torture.tor.corp.google.com [172.30.222.16]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id E7DEF200059; Mon, 3 Dec 2012 06:55:41 -0800 (PST) Received: by torture.tor.corp.google.com (Postfix, from userid 54752) id 3BE7AC0637; Mon, 3 Dec 2012 09:55:41 -0500 (EST) Date: Mon, 3 Dec 2012 09:55:41 -0500 From: Diego Novillo To: Doug Evans , gcc-patches@gcc.gnu.org Subject: [contrib] Fix buglet in validate_failures.py Message-ID: <20121203145540.GA20640@google.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQk2nVW+7he6MhSAVugPMGi4Qz8L2krknBFO6J+td4EgfAjASmFpyLQM3xkSo485FGXslv45pY8iU0exVOi7Br5MlVs6F6nYLJXMQxbSnt+h/bPRjFSCg43EAOYrSbNcSMgX4+IdMpw+t37eEH+bRNB7K42ctEaU3hEl1hcF6qNmu5CKazlm9xffWpGJ/JkeZJK6n4Mpi9D2DFuStdoJcanc8jTeDbLgAGKy29V5O28TfZFK3Xw= X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org An earlier patch had made the command line options a global variable _OPTIONS, but it had not renamed all the uses of the old options argument. * testsuite-management/validate_failures.py: Fix stale use of 'options'. Doug, if you're using validate_failures.py in some other branch, you may want to cherry pick this fix. diff --git a/contrib/testsuite-management/validate_failures.py b/contrib/testsuite-management/validate_failures.py index 483f466..d02b575 100755 --- a/contrib/testsuite-management/validate_failures.py +++ b/contrib/testsuite-management/validate_failures.py @@ -241,7 +241,7 @@ def GetNegativeResult(line): def ParseManifestWorker(result_set, manifest_path): """Read manifest_path, adding the contents to result_set.""" - if options.verbosity >= 1: + if _OPTIONS.verbosity >= 1: print 'Parsing manifest file %s.' % manifest_path manifest_file = open(manifest_path) for line in manifest_file: