This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Remove duplicate skip_python_tests invocation


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1dbc40b9d70b95717abb0db6865a12ebd7d91b06

commit 1dbc40b9d70b95717abb0db6865a12ebd7d91b06
Author: Tom Tromey <tom@tromey.com>
Date:   Sun Jan 27 14:51:03 2019 -0700

    Remove duplicate skip_python_tests invocation
    
    I noticed that py-finish-breakpoint.exp had two calls to
    skip_python_tests, in quick succession.  This patch removes the second
    one.
    
    gdb/testsuite/ChangeLog
    2019-01-27  Tom Tromey  <tom@tromey.com>
    
    	* gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
    	skip_python_tests.

Diff:
---
 gdb/testsuite/ChangeLog                           | 5 +++++
 gdb/testsuite/gdb.python/py-finish-breakpoint.exp | 3 ---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index a4ab85f..1bf94b0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-27  Tom Tromey  <tom@tromey.com>
+
+	* gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
+	skip_python_tests.
+
 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
 
 	* gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp
index 27987c2..293c913 100644
--- a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp
+++ b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp
@@ -53,9 +53,6 @@ if { $gdb_py_is_py24 == 1 } {
     return 0
 }
 
-# Skip all tests if Python scripting is not enabled.
-if { [skip_python_tests] } { continue }
-
 #
 # Test FinishBreakpoint in normal conditions
 #


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]