From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126163 invoked by alias); 27 Dec 2015 21:56:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 126145 invoked by uid 89); 27 Dec 2015 21:56:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:D*jp X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 27 Dec 2015 21:56:49 +0000 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 20DDD340666; Sun, 27 Dec 2015 21:56:47 +0000 (UTC) Date: Sun, 27 Dec 2015 21:56:00 -0000 From: Mike Frysinger To: Yoshinori Sato Cc: gdb-patches@sourceware.org Subject: Re: [PATCH][RX] instructions test set.. Message-ID: <20151227215646.GA25803@vapier.lan> Mail-Followup-To: Yoshinori Sato , gdb-patches@sourceware.org References: <1451206290-14327-1-git-send-email-ysato@users.sourceforge.jp> <1451206290-14327-2-git-send-email-ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Pq8tEKHpn00JYbZk" Content-Disposition: inline In-Reply-To: <1451206290-14327-2-git-send-email-ysato@users.sourceforge.jp> X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00515.txt.bz2 --Pq8tEKHpn00JYbZk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-length: 961 On 27 Dec 2015 17:51, Yoshinori Sato wrote: > index 0000000..e566c62 > --- /dev/null > +++ b/sim/testsuite/sim/rx/allinsn.exp > @@ -0,0 +1,25 @@ > +# Renesas RX simulator testsuite > + > +if [istarget rx-*-*] { > + set global_ld_options "-Ttext=0x01000000 --defsym __stack=0x01800000" > + > + set mach "rx" > + foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] { > + # If we're only testing specific files and this isn't one of them, > + # skip it. > + if ![runtest_file_p $runtests $src] { > + continue > + } > + run_sim_test $src $mach > + } > + > + set mach "rxv2" > + foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] { > + # If we're only testing specific files and this isn't one of them, > + # skip it. > + if ![runtest_file_p $runtests $src] { > + continue > + } > + run_sim_test $src $mach > + } > +} doesn't it work if you call run_sim_test once with both rx & rxv2 ? then you only need one loop. -mike --Pq8tEKHpn00JYbZk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWgF6eAAoJEEFjO5/oN/WBt+AP/2k/Iyhi82K+ua5VrLUGTjtd XYWSTrFFUdgtLmeKF5UwaSCYkbqH6LF+jGxu++GGrBucmnS7OVhonkM+3nMxjvYP VcFS/5LHK0svFZpAoSHO0AgsRQDI+qSIF2eEAz9svUlC1nqGjmWfStEQSqQb1pkg w3RUzQAtVnKvalZ2Ra+PU9uMj0+/yt0Kw1W9wdTu2Sjn6SMdEvzGjj+bU6Eocgyq fDeWoLgt6HnwufWSDhPX41GBnAUhIb2Stc2V7kNAcfPB+PrAzx6a3dqLfdlc/i0j wZ9qh+mxig9U4+vqa3nLTY2QksX9+W9ZOJynBikTCEjiotNFMsl9bLffwQHHXvMN VOOMBv+kID1KU/o1jIq4PAiWdkePiBpQNlV7qdIhd3nbI3/gpUccokYw/HjS5zAH jKWbsBAkgFxN7GoVQmrRJmeWDhQl6eMZ52eKYHMtrmagfI4c+F9nDixswzjVPSK+ qMMQ/axywjS4q1oht/jcAFyzTvB9o/tvGIUuJJwwq8v5fcVpKmPIse3BTYU+HWqY B+z6CGn4/OKMcFBU4I6ziuSHL5L+7D4NfqFrnDjEMWAqR43apQ1MnfryR6ED/0bk 8Q6ddt82g/sMzXleV9UvJG6F8Xr/CpuqY/fujI8ygJlWTqMHNEo9AYrvABPW7sQU r7R+dDZS8aPSNCH981CL =QVlr -----END PGP SIGNATURE----- --Pq8tEKHpn00JYbZk--