This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[04/10] watchpoint.exp: Always run the complex watchpoints tests.
- From: Pedro Alves <palves at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Date: Thu, 26 Jan 2012 14:15:31 +0000
- Subject: [04/10] watchpoint.exp: Always run the complex watchpoints tests.
- References: <4F215EE8.4080302@redhat.com>
"Only enabled for some targets merely because it has not been
tested elsewhere." is clearly the wrong policy. You end up with tests never
enabled. A better policy is to start with the tests enabled, and disable them
on targets that we find can run the test.
The complex tests pass cleanly on x86_64 Fedora 16, native and gdbserver.
2012-01-26 Pedro Alves <palves@redhat.com>
* gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
---
gdb/testsuite/gdb.base/watchpoint.exp | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index 9aeb5ec..3879308 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -803,13 +803,7 @@ if [initialize] then {
gdb_load $binfile
}
- # Only enabled for some targets merely because it has not been tested
- # elsewhere.
- if {[istarget "hppa*-*-*"] || \
- [istarget "sparc*-*-sunos*"] || \
- [istarget "m32r-*-*"]} then {
- test_complex_watchpoint
- }
+ test_complex_watchpoint
test_inaccessible_watchpoint