From b87314eb702d529693bbaacfadc2cbeefd743772 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sun, 13 Jul 2008 14:56:02 +0000 Subject: [PATCH] * gdb.base/randomize.exp: Catch non-Linux targets as untested. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/randomize.exp | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d5989a7b2a..4aacf9bb9b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-07-13 Jan Kratochvil + + * gdb.base/randomize.exp: Catch non-Linux targets as untested. + 2008-07-12 Vladimir Prus * 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 9cbdd7b3fb..3ee9476a44 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 $" { -- 2.11.0