diff options
author | Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | 2011-12-30 14:11:57 +0000 |
---|---|---|
committer | Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | 2011-12-30 14:11:57 +0000 |
commit | c0f378ec1b23176323f7ef432cd9931bb3d563cc (patch) | |
tree | 4f8ebe6cd91ccb4400738f1d89f0b42bf5d622e2 /gdb/testsuite/gdb.python/py-finish-breakpoint2.exp | |
parent | 9220438ca50bd7de2da409f3444f97f012554f9f (diff) | |
download | gdb-c0f378ec1b23176323f7ef432cd9931bb3d563cc.zip gdb-c0f378ec1b23176323f7ef432cd9931bb3d563cc.tar.gz gdb-c0f378ec1b23176323f7ef432cd9931bb3d563cc.tar.bz2 |
2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
gdb/testsuite/
* gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64
* gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
is not enabled.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-finish-breakpoint2.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-finish-breakpoint2.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp index 433d1e6..451cc90 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp @@ -38,6 +38,9 @@ gdb_start gdb_reinitialize_dir $srcdir/$subdir gdb_load ${binfile} +# Skip all tests if Python scripting is not enabled. +if { [skip_python_tests] } { continue } + if ![runto_main] then { fail "Cannot run to main." return 0 |