+2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
+
+ * gdb.python/py-record-btrace.exp: Make test names unique.
+ * gdb.python/py-record-full.exp: Likewise.
+
2020-12-21 Markus Metzger <markus.t.metzger@intel.com>
* gdb.btrace/data.exp: Make test names unique.
gdb_test "python print(gdb.current_recording())" "None"
gdb_test_no_output "python gdb.start_recording(\"btrace\")"
- gdb_test "python gdb.start_recording(\"btrace\")" ".*gdb\.error: The process is already being recorded\..*"
+ gdb_test "python gdb.start_recording(\"btrace\")" \
+ ".*gdb\.error: The process is already being recorded\..*" \
+ "already recording"
gdb_test_no_output "python gdb.stop_recording()" "first"
- gdb_test "python gdb.stop_recording()" ".*gdb\.error: No recording is currently active\..*" "second"
+ gdb_test "python gdb.stop_recording()" \
+ ".*gdb\.error: No recording is currently active\..*" "second"
}
with_test_prefix "preopened record btrace" {
gdb_test "python print(gdb.current_recording())" "None"
gdb_test_no_output "python gdb.start_recording(\"full\")"
- gdb_test "python gdb.start_recording(\"full\")" ".*gdb\.error: The process is already being recorded\..*"
+ gdb_test "python gdb.start_recording(\"full\")" \
+ ".*gdb\.error: The process is already being recorded\..*" \
+ "already recording"
gdb_test_no_output "python gdb.stop_recording()" "first"
- gdb_test "python gdb.stop_recording()" ".*gdb\.error: No recording is currently active\..*" "second"
+ gdb_test "python gdb.stop_recording()" \
+ ".*gdb\.error: No recording is currently active\..*" "second"
}
with_test_prefix "preopened record full" {