From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101392 invoked by alias); 25 Dec 2015 17:04:19 -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 101232 invoked by uid 89); 25 Dec 2015 17:04:18 -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=Hx-languages-length:851, 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; Fri, 25 Dec 2015 17:04:17 +0000 Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id A45AF3405D5; Fri, 25 Dec 2015 17:04:15 +0000 (UTC) Date: Fri, 25 Dec 2015 17:04:00 -0000 From: Mike Frysinger To: Yoshinori Sato Cc: gdb-patches@sourceware.org Subject: Re: [PATCH][RX] instructions test set. Message-ID: <20151225170415.GT25803@vapier.lan> Mail-Followup-To: Yoshinori Sato , gdb-patches@sourceware.org References: <1451053193-27204-1-git-send-email-ysato@users.sourceforge.jp> <1451053193-27204-2-git-send-email-ysato@users.sourceforge.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lx6+J6gHrzwEpYNy" Content-Disposition: inline In-Reply-To: <1451053193-27204-2-git-send-email-ysato@users.sourceforge.jp> X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00498.txt.bz2 --lx6+J6gHrzwEpYNy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-length: 817 On 25 Dec 2015 23:19, Yoshinori Sato wrote: > --- /dev/null > +++ b/sim/testsuite/sim/rx/abs.s > @@ -0,0 +1,25 @@ > +# RX testcase for abs > +# mach: all i think you want to use "rx rxv2" instead of "all" > --- /dev/null > +++ b/sim/testsuite/sim/rx/allinsn.exp > @@ -0,0 +1,67 @@ > +# Renesas RX simulator testsuite > + > +set all "rx rxv2" > +set global_ld_options "-Ttext=0x01000000 --defsym __stack=0x01800000" move these inside of the "if" statement > +if [istarget rx-*-*] then { drop the "then" keyword > + run_sim_test abs.s $all instead of listing them all out, look at how testsuite/sim/msp430/allinsn.exp is written using a loop and glob. i think passing down $all for all of the tests should be fine, even the later ones where you pass rxv2. the framework should skip things as needed. -mike --lx6+J6gHrzwEpYNy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWfXcPAAoJEEFjO5/oN/WBcmUQAJTUfHN8Q3XgKC0U5ztKrFHJ CSHijSmkz67FxcEt3swEKZ1hDkDrJ+USi4Ayh9zTSDEXltfsMvRbfKPvy4elY4eT ErxhpX4/FDC9fVi9H/U4WjWxYpehxb+z8mmeltx4a6Xf/z8G13Am4xZIBtpfQd75 aH1N2jwL7Nu9DJz4GPGBbj1ryTulvgqf/W4kYvgWSoflDC6bgQy6GnyfF7X3hUQk 5DR1xnz5WF9zVHz/xAZFyPBcnaLyoLEVzBKcwwiCNq9KaCtjNrNVQ6bMXoEHJUfu rP+6FevqaHSfCw1tV9YSIyM6W8VHeADKaVhnJdoIYgZCz6Y9q50PuKAOGukFOO5N NcsaRKz8lFdOwRLJQ9cW9hTDqFeFSGAehBct8ikhut5PHWaWhq+hlNbBAvntEAaL 08SPzeP1TEHKeY2475aFTYvG6pJJkg3Rgo47FBx0ZaSob/2GoSB+c2WUTwX8W5I2 dQYDzYHjHKtk9APl8CvL+cEk9XArMNgpZjvrigsXgJBu7pVZv9o8DaWAhi2IWWBs /1XcZv9pc5LyFIxArj7sWaIPdPfNI1YFBNQHMDwneG4z5pYEgZK+KeWU8ifLUKmS i76CfxPDTqMyAwdWHADifqcUY25zeWfaRYUak/v73rpLnIkJe7k1aaCFLD7cpXhw hWqdhps5Wt2Bazgh/Ma3 =IK52 -----END PGP SIGNATURE----- --lx6+J6gHrzwEpYNy--