Remove duplicate skip_python_tests invocation
authorTom Tromey <tom@tromey.com>
Sun, 27 Jan 2019 21:51:03 +0000 (14:51 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 27 Jan 2019 21:51:26 +0000 (14:51 -0700)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-finish-breakpoint.exp

index a4ab85ff844be67625543b92f164b07e8457c53f..1bf94b0abd6747f9e829ff7148b9a38d4c17998e 100644 (file)
@@ -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):
index 27987c2092d0b2b370a3ac084305b713d1b3940d..293c9138c84b13c0152ccc06790fdf4bb19a31ec 100644 (file)
@@ -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
 #