mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
Revert "[gdb/testsuite] Handle missing curses in gdb.python/py-missing-debug.exp"
This reverts commit29c7078711
. After the previous commit29c7078711
should no longer be needed as the curses dependency has been removed.
This commit is contained in:
parent
5ddd0d7eef
commit
523b8f4f29
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user