aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2008-07-13 14:56:02 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2008-07-13 14:56:02 +0000
commitb432ffe3e25b71e30f0b05bd332de5cff0ae1bf6 (patch)
tree343b839b4be58c2f41779699f13762e998334052 /gdb/testsuite
parent0ffe501282f3a7e5d6d65730145b11b164622f41 (diff)
downloadgdb-b432ffe3e25b71e30f0b05bd332de5cff0ae1bf6.zip
gdb-b432ffe3e25b71e30f0b05bd332de5cff0ae1bf6.tar.gz
gdb-b432ffe3e25b71e30f0b05bd332de5cff0ae1bf6.tar.bz2
* gdb.base/randomize.exp: Catch non-Linux targets as untested.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/randomize.exp6
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d5989a7..4aacf9b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/randomize.exp: Catch non-Linux targets as untested.
+
2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
* lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
diff --git a/gdb/testsuite/gdb.base/randomize.exp b/gdb/testsuite/gdb.base/randomize.exp
index 9cbdd7b..3ee9476 100644
--- a/gdb/testsuite/gdb.base/randomize.exp
+++ b/gdb/testsuite/gdb.base/randomize.exp
@@ -51,7 +51,11 @@ proc address_get { testname } {
set test "set disable-randomization off"
gdb_test_multiple "${test}" "${test}" {
-re "Disabling randomization .* unsupported .*$gdb_prompt $" {
- untested "No randomization supported by this GDB"
+ untested "Disabling randomization is not supported on this Linux GDB"
+ return -1
+ }
+ -re "No symbol .* in current context.*$gdb_prompt $" {
+ untested "Disabling randomization is not supported on this GDB platform"
return -1
}
-re "$gdb_prompt $" {