Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: [commit] testsuite: Restrict it to x86_64:  [Re: RFC: fix PR 14442 - DW_TAG_restrict_type]
Date: Tue, 15 Jan 2013 15:13:00 -0000	[thread overview]
Message-ID: <20130115151300.GA14592@host2.jankratochvil.net> (raw)
In-Reply-To: <87txqjmqpa.fsf@fleche.redhat.com>

On Mon, 14 Jan 2013 21:53:37 +0100, Tom Tromey wrote:
> I'm checking this in now.

--- 20130110Build-gdbcvs-f18/fedora-18-i386/out/gdb-m32.sum     2013-01-10 03:29:43.443261639 +0100
+++ 20130115Build-gdbcvs-f18/fedora-18-i386/out/gdb-m32.sum     2013-01-15 03:58:18.987076249 +0100

#gdb.dwarf2/dw2-restrict.exp
+Running gdb/testsuite/gdb.dwarf2/dw2-restrict.exp ...
+gdb compile failed, dw2-restrict.c: Assembler messages:
+dw2-restrict.c:54: Error: bad register name `%rdi'
[...]
+dw2-restrict.c:87: Error: bad register name `%rbp'
+UNTESTED: gdb.dwarf2/dw2-restrict.exp: dw2-restrict.exp


Checked in.


Thanks,
Jan


http://sourceware.org/ml/gdb-cvs/2013-01/msg00079.html

--- src/gdb/testsuite/ChangeLog	2013/01/14 21:05:07	1.3507
+++ src/gdb/testsuite/ChangeLog	2013/01/15 15:11:09	1.3508
@@ -1,3 +1,7 @@
+2013-01-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
+
 2013-01-14  Tom Tromey  <tromey@redhat.com>
 
 	* gdb.base/completion.exp: Add "set gnutarget" test.
--- src/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp	2013/01/14 20:59:27	1.1
+++ src/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp	2013/01/15 15:11:09	1.2
@@ -20,6 +20,11 @@
     return 0
 }
 
+# This test can only be run on x86-64 targets.
+if {![istarget x86_64-*] || ![is_lp64_target]} {
+    return 0
+}
+
 standard_testfile .S
 
 if {[prepare_for_testing $testfile.exp $testfile $srcfile {nodebug}]} {


  reply	other threads:[~2013-01-15 15:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19 21:37 RFC: fix PR 14442 - DW_TAG_restrict_type Tom Tromey
2013-01-14 20:53 ` Tom Tromey
2013-01-15 15:13   ` Jan Kratochvil [this message]
2013-01-15 15:31     ` [commit] testsuite: Restrict it to x86_64: [Re: RFC: fix PR 14442 - DW_TAG_restrict_type] Tom Tromey

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=20130115151300.GA14592@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.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