Skip gdb.python/py-thrhandle.exp if python is not enabled.

gdb/testsuite:

2017-11-03  Yao Qi  <yao.qi@linaro.org>

	* gdb.python/py-thrhandle.exp: Skip it if python is not
	enabled.
This commit is contained in:
Yao Qi 2017-11-03 10:36:42 +00:00
parent 3d47a7fef6
commit 8e68731c8a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2017-11-03 Yao Qi <yao.qi@linaro.org>
* gdb.python/py-thrhandle.exp: Skip it if python is not
enabled.
2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
* gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace

View File

@ -27,6 +27,10 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab
}
clean_restart ${binfile}
# Skip all tests if Python scripting is not enabled.
if { [skip_python_tests] } { continue }
runto_main
gdb_test "break after_mc_barrier" \