aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorScott Bambrough <scottb@netwinder.org>2000-07-28 20:17:28 +0000
committerScott Bambrough <scottb@netwinder.org>2000-07-28 20:17:28 +0000
commitb22a60275347d3cba34d19c892a3da2e97e329e9 (patch)
treeb63c21962f87d44f875b84f0810cb4834146b449 /gdb/testsuite/gdb.base
parentfb409745932dbedf748359fa7be4b21491c5ad36 (diff)
downloadgdb-b22a60275347d3cba34d19c892a3da2e97e329e9.zip
gdb-b22a60275347d3cba34d19c892a3da2e97e329e9.tar.gz
gdb-b22a60275347d3cba34d19c892a3da2e97e329e9.tar.bz2
2000-07-26 Scott Bambrough <scottb@netwinder.org>
* gdb.base/recurse.exp: Run tests for all targets. * gdb.base/so-impl-ld.exp: Added wildcard to handle the gnu-oldld case on ARM. * gdb.base/watchpoint.exp (test_stepping): Clear xfail for ARM targets.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/recurse.exp22
-rw-r--r--gdb/testsuite/gdb.base/so-impl-ld.exp2
-rw-r--r--gdb/testsuite/gdb.base/watchpoint.exp1
3 files changed, 11 insertions, 14 deletions
diff --git a/gdb/testsuite/gdb.base/recurse.exp b/gdb/testsuite/gdb.base/recurse.exp
index 88e1b30..ac994f2 100644
--- a/gdb/testsuite/gdb.base/recurse.exp
+++ b/gdb/testsuite/gdb.base/recurse.exp
@@ -127,19 +127,15 @@ proc recurse_tests {} {
gdb_stop_suppressing_tests;
}
-# Only enabled for some targets merely because it has not been tested
-# elsewhere.
-if {[istarget "sparc*-*-sunos4*"] || [istarget "hppa*-*-bsd*"] || [istarget "hppa*-*-hpux*"] || [istarget "sparclet-*-*"] || [istarget "m32r-*-elf"] || [istarget "mn10200-*-*"] || [istarget "mn10300-*-*"]} then {
+# Preserve the old timeout, and set a new one that should be
+# sufficient to avoid timing out during this test.
+set oldtimeout $timeout
+set timeout [expr "$timeout + 60"]
+verbose "Timeout is now $timeout seconds" 2
- # Preserve the old timeout, and set a new one that should be
- # sufficient to avoid timing out during this test.
- set oldtimeout $timeout
- set timeout [expr "$timeout + 60"]
- verbose "Timeout is now $timeout seconds" 2
+recurse_tests
- recurse_tests
+# Restore the preserved old timeout value.
+set timeout $oldtimeout
+verbose "Timeout is now $timeout seconds" 2
- # Restore the preserved old timeout value.
- set timeout $oldtimeout
- verbose "Timeout is now $timeout seconds" 2
-}
diff --git a/gdb/testsuite/gdb.base/so-impl-ld.exp b/gdb/testsuite/gdb.base/so-impl-ld.exp
index e55cff9..f147337 100644
--- a/gdb/testsuite/gdb.base/so-impl-ld.exp
+++ b/gdb/testsuite/gdb.base/so-impl-ld.exp
@@ -36,7 +36,7 @@ if ![isnative] then {
if {! ([istarget "hppa*-*-*hpux*"]
|| [istarget "sparc-sun-solaris*"]
- || [istarget " *-*-linux-gnu"]) } {
+ || [istarget " *-*-linux-gnu*"]) } {
return
}
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index 3bd3314..df796ba 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -376,6 +376,7 @@ proc test_stepping {} {
# This doesn't occur if the call dummy starts with a call,
# because we are out of the dummy by the first time the inferior
# stops.
+ clear_xfail "arm*-*-*"
clear_xfail "d10v*-*-*"
clear_xfail "m68*-*-*"
clear_xfail "i*86*-*-*"