From: "M R Swami Reddy" <MR.Swami.Reddy@nsc.com>
To: "Hans-Peter Nilsson" <hans-peter.nilsson@axis.com>
Cc: gdb-patches@sourceware.org
Subject: Re: Your sim testsuite changes broke other targets
Date: Tue, 08 Apr 2008 12:03:00 -0000 [thread overview]
Message-ID: <47FB58EB.8080408@nsc.com> (raw)
In-Reply-To: <200804081116.m38BGwGH032650@ignucius.se.axis.com>
[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]
Hi,
Opps, sorry for this.
Fixed this issue. Please find the attached patch file and let me know if this ok
to apply?
ChangeLog:
====
2008-04-08 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* allinsn.exp: Moved target_alias and global_ld_options into
if condition
====
Thanks,
Swami
Hans-Peter Nilsson wrote:
> All tests broke for all targets in my sim autotester. For
> *some* reason, they now want to run cr16-elf-as for the tests...
>
> 2008-02-12 M Ranga Swami Reddy <MR.Swami.Reddy@nsc.com>
>
> * sim/cr16/: New directory. Tests for CR16 simulator.
> sim/cr16/allinsn.exp and sim/cr16/misc.exp: New files: Test scripts.
>
> At the top of that allinsn.exp:
>
> ------
> # CR16 simulator testsuite.
>
> set target_alias cr16-elf
> set global_ld_options "-L/local/user/swami/cr16-5.1/build/CR_R_2007-08-24_11-34-56/release/linux/lib/gcc/cr16-elf/4.1.2 -T/home10/swami/dummy.ld"
>
> if [istarget cr16*-*-*] {
> ...
> ------
>
> I think I see why! (Hint: they aren't cr16-elf. ;)
>
> Did you really mean to commit with those "set"s there? Please
> remove them; they look wrong. At least move them inside the
> "if". (If you remove them, I'll consider adding cr16 to the
> targets I test in my autotester.)
>
> brgds, H-P
>
[-- Attachment #2: allinsn.exp.patch --]
[-- Type: text/plain, Size: 896 bytes --]
Index: allinsn.exp
===================================================================
RCS file: /cvs/src/src/sim/testsuite/sim/cr16/allinsn.exp,v
retrieving revision 1.1
diff -c -r1.1 allinsn.exp
*** allinsn.exp 8 Apr 2008 09:03:17 -0000 1.1
--- allinsn.exp 8 Apr 2008 11:29:10 -0000
***************
*** 1,7 ****
# CR16 simulator testsuite.
- set target_alias cr16-elf
- set global_ld_options "-L/local/user/swami/cr16-5.1/build/CR_R_2007-08-24_11-34-56/release/linux/lib/gcc/cr16-elf/4.1.2 -T/home10/swami/dummy.ld"
if [istarget cr16*-*-*] {
# load support procs
--- 1,5 ----
***************
*** 10,15 ****
--- 8,16 ----
# all machines
set all_machs "cr16"
+ set target_alias cr16-elf
+ set global_ld_options "-T$srcdir/$subdir/dummy.ld"
+
# The .cgs suffix is for "cgen .s".
foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.cgs]] {
next prev parent reply other threads:[~2008-04-08 11:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-08 11:44 Hans-Peter Nilsson
2008-04-08 12:03 ` M R Swami Reddy [this message]
2008-04-08 12:25 ` Daniel Jacobowitz
2008-04-08 12:37 ` M R Swami Reddy
2008-04-08 12:48 ` M R Swami Reddy
2008-04-08 13:08 ` Daniel Jacobowitz
2008-04-08 15:27 ` M R Swami Reddy
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=47FB58EB.8080408@nsc.com \
--to=mr.swami.reddy@nsc.com \
--cc=gdb-patches@sourceware.org \
--cc=hans-peter.nilsson@axis.com \
/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