+2020-05-12 Tom de Vries <tdevries@suse.de>
+
+ * gdb.multi/multi-term-settings.exp: Use with_test_prefix.
+
2020-05-12 Tom de Vries <tdevries@suse.de>
* gdb.ada/catch_ex.exp: Use with_test_prefix.
clean_restart $binfile
- set inf1_spawn_id [create_inferior 1 $inf1_how]
+ with_test_prefix "inf1" {
+ set inf1_spawn_id [create_inferior 1 $inf1_how]
+ }
set num 2
gdb_test "add-inferior" "Added inferior $num.*" \
"switch to inferior $num"
gdb_file_cmd ${binfile}
- set inf2_spawn_id [create_inferior 2 $inf2_how]
+ with_test_prefix "inf2" {
+ set inf2_spawn_id [create_inferior 2 $inf2_how]
+ }
gdb_test_no_output "set schedule-multiple on"
}
# Useful for debugging in case the Ctrl-C above fails.
- gdb_test "info inferiors"
- gdb_test "info threads"
+ with_test_prefix "final" {
+ gdb_test "info inferiors"
+ gdb_test "info threads"
+ }
}
set how_modes {"run" "attach" "tty"}