diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-11-03 10:36:42 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-11-03 10:41:03 +0000 |
commit | 8e68731c8a4aecb3481803e91b9bcd2df182c135 (patch) | |
tree | 485e44c1f59066801d2ae161dcbcbafa88397e7b /gdb/testsuite/gdb.python | |
parent | 3d47a7fef640b0a5a90aa7494c41982cf84a4092 (diff) | |
download | gdb-8e68731c8a4aecb3481803e91b9bcd2df182c135.zip gdb-8e68731c8a4aecb3481803e91b9bcd2df182c135.tar.gz gdb-8e68731c8a4aecb3481803e91b9bcd2df182c135.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-thrhandle.exp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-thrhandle.exp b/gdb/testsuite/gdb.python/py-thrhandle.exp index 66b0472..fb01ca1 100644 --- a/gdb/testsuite/gdb.python/py-thrhandle.exp +++ b/gdb/testsuite/gdb.python/py-thrhandle.exp @@ -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" \ |