+2013-01-13 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
+ check. Move $gdb_py_is_py24 value check right after.
+
2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
load_lib gdb-python.exp
-if { $gdb_py_is_py24 == 1 } {
- # Python 2.4, 2.5 do not support the "ValueError as e" syntax used in
- # the py-finish-breakpoint.py script.
- untested py-finish-breakpoint.exp
- return 0
-}
-
set libfile "py-events-shlib"
set libsrc $srcdir/$subdir/$libfile.c
set lib_sl [standard_output_file $libfile-nodebug.so]
# Start with a fresh gdb.
clean_restart ${testfile}
+if { [skip_python_tests] } { continue }
+
+if { $gdb_py_is_py24 == 1 } {
+ # Python 2.4, 2.5 do not support the "ValueError as e" syntax used in
+ # the py-finish-breakpoint.py script.
+ untested py-finish-breakpoint.exp
+ return 0
+}
+
set python_file ${srcdir}/${subdir}/${testfile}.py