Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH][RX] instructions test set..
Date: Sun, 27 Dec 2015 21:56:00 -0000	[thread overview]
Message-ID: <20151227215646.GA25803@vapier.lan> (raw)
In-Reply-To: <1451206290-14327-2-git-send-email-ysato@users.sourceforge.jp>

[-- Attachment #1: Type: text/plain, Size: 961 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-12-27 21:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27  8:51 [PATCH][RX] v2 instructions support Yoshinori Sato
2015-12-27  8:51 ` [PATCH][RX] instructions test set Yoshinori Sato
2015-12-27 21:56   ` Mike Frysinger [this message]
2015-12-27 21:55 ` [PATCH][RX] v2 instructions support Mike Frysinger
2015-12-28 12:34   ` Yoshinori Sato
2016-01-06  2:43   ` DJ Delorie
2016-01-06  8:23     ` Yoshinori Sato
  -- strict thread matches above, loose matches on Subject: below --
2015-12-28 12:37 [PATCH][RX] instructions test set Yoshinori Sato
2015-12-28 17:28 ` Mike Frysinger
2015-12-25 14:20 [PATCH][RX] v2 instructions support Yoshinori Sato
2015-12-25 14:20 ` [PATCH][RX] instructions test set Yoshinori Sato
2015-12-25 17:04   ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151227215646.GA25803@vapier.lan \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    --cc=ysato@users.sourceforge.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox