Skip tests that send ctrl-c to GDB if nointerrupts target property is set.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / completion.exp
index f0e4dec9b54c9825fe036bb8519f82907e8fed1a..2aabab5dc6d555034ab878954922bec5b674f4d2 100644 (file)
@@ -944,7 +944,7 @@ gdb_test_multiple "" "$test" {
 
 gdb_test_no_output "set max-completions unlimited"
 
-if {![skip_tui_tests]} {
+if {![skip_tui_tests] && ![target_info exists gdb,nointerrupts]} {
     set test "test completion of layout names"
     send_gdb "layout\t\t\t"
     gdb_test_multiple "" "$test" {
@@ -960,7 +960,7 @@ if {![skip_tui_tests]} {
        }
     }
 }
-if {![skip_tui_tests]} {
+if {![skip_tui_tests] && ![target_info exists gdb,nointerrupts]} {
     with_test_prefix "focus command" {
        set test "test completion"
        send_gdb "focus \t\t"
This page took 0.027654 seconds and 4 git commands to generate.