diff options
author | xuepeng guo <xguo@sourceware.org> | 2012-10-19 07:36:19 +0000 |
---|---|---|
committer | xuepeng guo <xguo@sourceware.org> | 2012-10-19 07:36:19 +0000 |
commit | 48b56b6a3e60fed0419c419016693f86a1c1a6ac (patch) | |
tree | 321b65a483db27007a5dc1864973db6e0814aa4a /gdb/testsuite/gdb.base | |
parent | 4493bd46ff225c5d2081f535f22793ef7a5fcf4f (diff) | |
download | binutils-gdb-48b56b6a3e60fed0419c419016693f86a1c1a6ac.tar.gz |
* gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
* gdb.base/print-file-var.exp: Likewise.
* gdb.base/type-opaque.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/ctxobj.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/print-file-var.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/type-opaque.exp | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/ctxobj.exp b/gdb/testsuite/gdb.base/ctxobj.exp index b41ed38fa74..a0eceb766a9 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 <http://www.gnu.org/licenses/>. */ +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 994abc40105..03a2832838a 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 <http://www.gnu.org/licenses/>. */ +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 f91c24b47e6..ffd46627cdc 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 |