diff options
author | Andrew Burgess <aburgess@redhat.com> | 2024-09-10 14:05:55 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2024-09-10 14:07:11 +0100 |
commit | 523b8f4f29ef79032f850b7189765d815a59a330 (patch) | |
tree | 883a6b0b92b5c5f3e15ed320f30a7e7c5ed8ddba | |
parent | 5ddd0d7eefbb683a09e233b7dfb4a48a04b72b8e (diff) | |
download | gdb-523b8f4f29ef79032f850b7189765d815a59a330.zip gdb-523b8f4f29ef79032f850b7189765d815a59a330.tar.gz gdb-523b8f4f29ef79032f850b7189765d815a59a330.tar.bz2 |
Revert "[gdb/testsuite] Handle missing curses in gdb.python/py-missing-debug.exp"
This reverts commit 29c70787112e01cd52b53bf14bdcacb0a11e0725.
After the previous commit 29c70787112e01cd52 should no longer be
needed as the curses dependency has been removed.
-rw-r--r-- | gdb/testsuite/gdb.python/py-missing-debug.exp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/gdb/testsuite/gdb.python/py-missing-debug.exp b/gdb/testsuite/gdb.python/py-missing-debug.exp index 9d853d3..dfc0a46 100644 --- a/gdb/testsuite/gdb.python/py-missing-debug.exp +++ b/gdb/testsuite/gdb.python/py-missing-debug.exp @@ -58,21 +58,8 @@ with_test_prefix "initial checks" { } # Load the Python script into GDB. -set python_script_loaded 0 -set re_no_curses [string_to_regexp "Module 'curses' is not installed."] -gdb_test_multiple "source $remote_python_file" "source python script" { - -re -wrap $re_no_curses.* { - unsupported $gdb_test_name - } - -re -wrap "^Success" { - set python_script_loaded 1 - pass $gdb_test_name - } -} - -if { ! $python_script_loaded } { - return -} +gdb_test "source $remote_python_file" "^Success" \ + "source python script" # Setup the separate debug info directory. This isn't actually needed until # some of the later tests, but might as well get this done now. |