From f5f08264283526e1f17500d44f93fdf5730072c3 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Sat, 15 Nov 2014 23:20:18 +0000 Subject: [PATCH] guality.exp (check_guality): Fix `test_counts' restoration. * g++.dg/guality/guality.exp (check_guality): Fix `test_counts' restoration. From-SVN: r217615 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/guality/guality.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4b55f47f7b2..fdb726568d6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-11-15 Maciej W. Rozycki + + * g++.dg/guality/guality.exp (check_guality): Fix `test_counts' + restoration. + 2014-11-15 Adhemerval Zanella * gcc.dg/atomic/c11-atomic-exec-5.c diff --git a/gcc/testsuite/g++.dg/guality/guality.exp b/gcc/testsuite/g++.dg/guality/guality.exp index 121522c3515..283c079f37e 100644 --- a/gcc/testsuite/g++.dg/guality/guality.exp +++ b/gcc/testsuite/g++.dg/guality/guality.exp @@ -28,7 +28,7 @@ proc check_guality {args} { set ret [string match "*1 PASS, 0 FAIL, 0 UNRESOLVED*" $execout] } remote_file build delete $output - array get test_counts [array get saved_test_counts] + array set test_counts [array get saved_test_counts] return $ret } -- 2.30.2