From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43729 invoked by alias); 28 Mar 2015 20:56:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 43669 invoked by uid 48); 28 Mar 2015 20:56:45 -0000 From: "howarthjw at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/64983] Incomplete summary when regtesting with dejagnu 1.5.2. Date: Sun, 29 Mar 2015 07:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarthjw at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg03299.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64983 Jack Howarth changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |howarthjw at gmail dot com --- Comment #8 from Jack Howarth --- The usage of reset_vars in proc runtest results in the execution of... foreach x $test_names { set test_counts($x,count) 0 } Reverting the commit while effectively retaining that part of the changes with... diff -uNr dejagnu-1.5.2.orig/runtest.exp dejagnu-1.5.2/runtest.exp --- dejagnu-1.5.2.orig/runtest.exp 2015-02-03 21:25:26.000000000 -0500 +++ dejagnu-1.5.2/runtest.exp 2015-03-28 16:48:10.000000000 -0400 @@ -1441,13 +1441,22 @@ # proc runtest { test_file_name } { + global test_names test_counts + global prms_id + global bug_id global test_result global errcnt global errorInfo global tool clone_output "Running $test_file_name ..." - reset_vars + set prms_id 0 + set bug_id 0 + + foreach x $test_names { + set test_counts($x,count) 0 + } + set test_result "" if {[file exists $test_file_name]} { ...replicates the breakage.