[13/14] gdb/testsuite: Skip killed-outside when nosignals
Commit Message
From: Anton Kolesov <Anton.Kolesov@synopsys.com>
Test "killed-outside.exp" uses "kill -9" to kill target process via PID,
something that will never work with an emdedded target has neither PID, nor is
accessible to the host "kill" utility. Skip this test if "gdb,nosignals" is
set.
gdb/testsuite/ChangeLog:
2016-08-18 Anton Kolesov <Anton.Kolesov@synopsys.com>
* gdb.base/killed-outside.exp: Skip the test if there is
"nosignal".
Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
---
gdb/testsuite/gdb.base/killed-outside.exp | 5 +++++
1 file changed, 5 insertions(+)
@@ -80,6 +80,11 @@ proc test {cmds_after_kill} {
}
}
+if [target_info exists gdb,nosignals] {
+ verbose "Skipping killed-outside.exp because of nosignals."
+ continue
+}
+
if {[prepare_for_testing "failed to prepare" $testfile $srcfile] == -1} {
return -1
}