testsuite, gdb.python: make py-record-*.exp test names unique
authorMarkus Metzger <markus.t.metzger@intel.com>
Mon, 14 Dec 2020 13:04:33 +0000 (14:04 +0100)
committerMarkus Metzger <markus.t.metzger@intel.com>
Mon, 21 Dec 2020 07:58:25 +0000 (08:58 +0100)
gdb/testsuite/ChangeLog:
2020-12-14  Markus Metzger  <markus.t.metzger@intel.com>

* gdb.python/py-record-btrace.exp: Make test names unique.
* gdb.python/py-record-full.exp: Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-record-btrace.exp
gdb/testsuite/gdb.python/py-record-full.exp

index 0e99e035ac86bb25a55ba690888fed59949952a7..bc6b126c1b2c3ea377865a5dce26cb3115cc5406 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 3a84cbe7ac4d86ad734c51d86a57efa087017869..d113ed640fde26ea113484aa4c1e1b389c6af787 100644 (file)
@@ -44,10 +44,13 @@ with_test_prefix "no or double record" {
     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" {
index a1f24a3634f40cb5e6aac8bfe411e3733ed6a62d..0b67788d4fd5b52c7a882d1c5bad43d324bf8f4a 100644 (file)
@@ -44,10 +44,13 @@ with_test_prefix "no or double record" {
     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" {