aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2010-06-11 17:34:12 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2010-06-11 17:34:12 +0000
commit5c3552dc9fdc8a7f70082c8036a6d1df903b8925 (patch)
treeeb72fa008f9cd5bccfa3916ca2e06c45df2d608e
parent02e6fe6a8c94fb27f360bdf0114777e9094ec5ba (diff)
downloadgdb-5c3552dc9fdc8a7f70082c8036a6d1df903b8925.zip
gdb-5c3552dc9fdc8a7f70082c8036a6d1df903b8925.tar.gz
gdb-5c3552dc9fdc8a7f70082c8036a6d1df903b8925.tar.bz2
* gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/solib-corrupted.exp4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f93a393..1c31e2a 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+ * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
+
+2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
* gdb.base/charset.c (main): Make sure malloc gets linked in.
2010-06-11 Tom Tromey <tromey@redhat.com>
diff --git a/gdb/testsuite/gdb.base/solib-corrupted.exp b/gdb/testsuite/gdb.base/solib-corrupted.exp
index 741984c..68077fd 100644
--- a/gdb/testsuite/gdb.base/solib-corrupted.exp
+++ b/gdb/testsuite/gdb.base/solib-corrupted.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 0
+}
+
set testfile "solib-corrupted"
set srcfile start.c