From 48b56b6a3e60fed0419c419016693f86a1c1a6ac Mon Sep 17 00:00:00 2001 From: xuepeng guo Date: Fri, 19 Oct 2012 07:36:19 +0000 Subject: [PATCH] * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true. * gdb.base/print-file-var.exp: Likewise. * gdb.base/type-opaque.exp: Likewise. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/ctxobj.exp | 4 ++++ gdb/testsuite/gdb.base/print-file-var.exp | 4 ++++ gdb/testsuite/gdb.base/type-opaque.exp | 4 ++++ 4 files changed, 18 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f9d40ff5e3..23813fed5c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-10-18 Yufeng Zhang + + * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true. + * gdb.base/print-file-var.exp: Likewise. + * gdb.base/type-opaque.exp: Likewise. + 2012-10-17 Yao Qi * gdb.mi/mi-memory-changed.exp: New. diff --git a/gdb/testsuite/gdb.base/ctxobj.exp b/gdb/testsuite/gdb.base/ctxobj.exp index b41ed38fa7..a0eceb766a 100644 --- a/gdb/testsuite/gdb.base/ctxobj.exp +++ b/gdb/testsuite/gdb.base/ctxobj.exp @@ -13,6 +13,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . */ +if {[skip_shlib_tests]} { + return -1 +} + set executable ctxobj-m # The sources used to build two shared libraries (SO). We use the exact diff --git a/gdb/testsuite/gdb.base/print-file-var.exp b/gdb/testsuite/gdb.base/print-file-var.exp index 994abc4010..03a2832838 100644 --- a/gdb/testsuite/gdb.base/print-file-var.exp +++ b/gdb/testsuite/gdb.base/print-file-var.exp @@ -13,6 +13,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . */ +if {[skip_shlib_tests]} { + return -1 +} + set executable print-file-var-main set lib1 "print-file-var-lib1" diff --git a/gdb/testsuite/gdb.base/type-opaque.exp b/gdb/testsuite/gdb.base/type-opaque.exp index f91c24b47e..ffd46627cd 100644 --- a/gdb/testsuite/gdb.base/type-opaque.exp +++ b/gdb/testsuite/gdb.base/type-opaque.exp @@ -15,6 +15,10 @@ # Test resolving of an opaque type from the loaded shared library. +if {[skip_shlib_tests]} { + return -1 +} + set testfile type-opaque-main set libfile type-opaque-lib set srcfile ${testfile}.c