This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] gcc/testsuite: guality.exp: Fix `test_counts' restoration
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "Maciej W. Rozycki" <macro at codesourcery dot com>
- Cc: Mike Stump <mikestump at comcast dot net>, VandeVondele Joost <joost dot vandevondele at mat dot ethz dot ch>, David Malcolm <dmalcolm at redhat dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 14 Nov 2014 22:06:03 +0100
- Subject: Re: [PATCH] gcc/testsuite: guality.exp: Fix `test_counts' restoration
- Authentication-results: sourceware.org; auth=none
- References: <20140910212334 dot GL17454 at tucnak dot redhat dot com> <20140911075123 dot GN17454 at tucnak dot redhat dot com> <20140911080640 dot GP17454 at tucnak dot redhat dot com> <20140911145300 dot GR17454 at tucnak dot redhat dot com> <908103EDB4893A42920B21D3568BFD93150F876D at MBX23 dot d dot ethz dot ch> <908103EDB4893A42920B21D3568BFD93150FE8D2 at MBX13 dot d dot ethz dot ch> <20140912163241 dot GC17454 at tucnak dot redhat dot com> <305370A6-ACBC-4DD4-AF96-32B3503F3388 at comcast dot net> <20140915160549 dot GM17454 at tucnak dot redhat dot com> <alpine dot DEB dot 1 dot 10 dot 1411142022080 dot 2881 at tp dot orcam dot me dot uk>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Nov 14, 2014 at 09:01:25PM +0000, Maciej W. Rozycki wrote:
> 2014-11-14 Maciej W. Rozycki <macro@codesourcery.com>
>
> gcc/testsuite/
> * g++.dg/guality/guality.exp (check_guality): Fix `test_counts'
> restoration.
Ok, thanks.
> --- gcc-fsf-trunk-quilt.orig/gcc/testsuite/g++.dg/guality/guality.exp 2014-11-14 18:33:47.000000000 +0000
> +++ gcc-fsf-trunk-quilt/gcc/testsuite/g++.dg/guality/guality.exp 2014-11-14 20:18:35.038856372 +0000
> @@ -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
> }
>
Jakub