* gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
Recognize "command not found".
+2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
+ Recognize "command not found".
+
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
set res [remote_spawn host $cmd];
if { $res < 0 || $res == "" } {
verbose -log "Spawning $cmd failed."
- setup_xfail *-*-*
- fail $test
+ unsupported $test
return -1
}
pass $test
pass $test
}
-re "valgrind: failed to start tool 'memcheck' for platform '.*': No such file or directory" {
- setup_xfail *-*-*
- fail $test
+ unsupported $test
+ return -1
+ }
+ -re "command not found" {
+ # The spawn succeeded, but then valgrind was not found - e.g. if
+ # we spawned SSH to a remote system.
+ unsupported $test
return -1
}
}