This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/64983] Incomplete summary when regtesting with dejagnu 1.5.2.
- From: "howarthjw at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 28 Mar 2015 20:56:44 +0000
- Subject: [Bug testsuite/64983] Incomplete summary when regtesting with dejagnu 1.5.2.
- Auto-submitted: auto-generated
- References: <bug-64983-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64983
Jack Howarth <howarthjw at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |howarthjw at gmail dot com
--- Comment #8 from Jack Howarth <howarthjw at gmail dot com> ---
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.