From: Markus Metzger Date: Mon, 14 Dec 2020 13:04:33 +0000 (+0100) Subject: testsuite, gdb.python: make py-record-*.exp test names unique X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=493d2172ac9e15034e94d3030598bbaa42550082;p=binutils-gdb.git testsuite, gdb.python: make py-record-*.exp test names unique gdb/testsuite/ChangeLog: 2020-12-14 Markus Metzger * gdb.python/py-record-btrace.exp: Make test names unique. * gdb.python/py-record-full.exp: Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0e99e035ac8..bc6b126c1b2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-12-21 Markus Metzger + + * gdb.python/py-record-btrace.exp: Make test names unique. + * gdb.python/py-record-full.exp: Likewise. + 2020-12-21 Markus Metzger * gdb.btrace/data.exp: Make test names unique. diff --git a/gdb/testsuite/gdb.python/py-record-btrace.exp b/gdb/testsuite/gdb.python/py-record-btrace.exp index 3a84cbe7ac4..d113ed640fd 100644 --- a/gdb/testsuite/gdb.python/py-record-btrace.exp +++ b/gdb/testsuite/gdb.python/py-record-btrace.exp @@ -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" { diff --git a/gdb/testsuite/gdb.python/py-record-full.exp b/gdb/testsuite/gdb.python/py-record-full.exp index a1f24a3634f..0b67788d4fd 100644 --- a/gdb/testsuite/gdb.python/py-record-full.exp +++ b/gdb/testsuite/gdb.python/py-record-full.exp @@ -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" {