public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: tromey@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-tromey-python: 2008-10-24  Pedro Alves  <pedro@codesourcery.com>
Date: Fri, 24 Oct 2008 18:45:00 -0000	[thread overview]
Message-ID: <20081024184526.28679.qmail@sourceware.org> (raw)

The branch, archer-tromey-python has been updated
       via  42282d0780bfa532a5452c152a3723443ce18f12 (commit)
      from  eda77f11bd3bd80e4347aeef07fbee3b2b7ed05a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 42282d0780bfa532a5452c152a3723443ce18f12
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Oct 24 12:43:42 2008 -0600

    2008-10-24  Pedro Alves  <pedro@codesourcery.com>
    
    	* gdb.python/python-value.exp (test_value_in_inferior): Don't use
    	gdb_start_cmd.
    	Use runto_main before any test that requires execution.

-----------------------------------------------------------------------

Summary of changes:
 gdb/testsuite/ChangeLog                   |    6 ++++++
 gdb/testsuite/gdb.python/python-value.exp |   13 ++++++++-----
 2 files changed, 14 insertions(+), 5 deletions(-)

First 500 lines of diff:
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 911275c..ee19021 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-24  Pedro Alves  <pedro@codesourcery.com>
+
+	* gdb.python/python-value.exp (test_value_in_inferior): Don't use
+	gdb_start_cmd.
+	Use runto_main before any test that requires execution.
+
 2008-10-23  Tom Tromey  <tromey@redhat.com>
 
 	* gdb.python/python-prettyprint.exp (run_lang_tests): Test
diff --git a/gdb/testsuite/gdb.python/python-value.exp b/gdb/testsuite/gdb.python/python-value.exp
index 7515ab7..99b576a 100644
--- a/gdb/testsuite/gdb.python/python-value.exp
+++ b/gdb/testsuite/gdb.python/python-value.exp
@@ -199,11 +199,6 @@ proc test_value_in_inferior {} {
   global testfile
 
   gdb_breakpoint [gdb_get_line_number "break to inspect struct and union"]
-  gdb_start_cmd
-
-  # Avoid race condition where a continue command in gdb_continue_to_breakpoint
-  # is issued too early.
-  gdb_test "" "$gdb_prompt"
 
   gdb_continue_to_breakpoint "break to inspect struct and union"
 
@@ -247,4 +242,12 @@ test_value_creation
 test_value_numeric_ops
 test_value_boolean
 test_value_compare
+
+# The following tests require execution.
+
+if ![runto_main] then {
+    fail "Can't run to main"
+    return 0
+}
+
 test_value_in_inferior


hooks/post-receive
--
Repository for Project Archer.


                 reply	other threads:[~2008-10-24 18:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20081024184526.28679.qmail@sourceware.org \
    --to=tromey@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).