guality.exp (check_guality): Fix `test_counts' restoration.
authorMaciej W. Rozycki <macro@codesourcery.com>
Sat, 15 Nov 2014 23:20:18 +0000 (23:20 +0000)
committerMaciej W. Rozycki <macro@gcc.gnu.org>
Sat, 15 Nov 2014 23:20:18 +0000 (23:20 +0000)
* g++.dg/guality/guality.exp (check_guality): Fix `test_counts'
restoration.

From-SVN: r217615

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/guality/guality.exp

index 4b55f47f7b245ec2308316416d9e61be33295f3c..fdb726568d629b4cc6df3db74ae8b63f94e95c8b 100644 (file)
@@ -1,3 +1,8 @@
+2014-11-15  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * g++.dg/guality/guality.exp (check_guality): Fix `test_counts'
+       restoration.
+
 2014-11-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
        * gcc.dg/atomic/c11-atomic-exec-5.c
index 121522c3515e1aeae9e2f7f17a89107a9feae77d..283c079f37e8a8d7ab7c573a3c125ff91796b22b 100644 (file)
@@ -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
 }