mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
Use support_nested_function_tests in gdb.base/nested-subp1.exp et al
This commit updates gdb.base/nested-subp[1-3].exp to determine whether whether nested functions are supported using the function support_nested_function_tests. gdb/testsuite/ChangeLog: * gdb.base/nested-subp1.exp: Use support_nested_function_tests. * gdb.base/nested-subp2.exp: Likewise. * gdb.base/nested-subp3.exp: Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2020-04-20 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* gdb.base/nested-subp1.exp: Use support_nested_function_tests.
|
||||
* gdb.base/nested-subp2.exp: Likewise.
|
||||
* gdb.base/nested-subp3.exp: Likewise.
|
||||
|
||||
2020-04-20 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* gdb.base/nested-subp1.exp: Disable test when using clang.
|
||||
|
@ -24,8 +24,7 @@ standard_testfile
|
||||
|
||||
set testcase "nested-subp1"
|
||||
|
||||
get_compiler_info
|
||||
if { [test_compiler_info "clang-*"] } {
|
||||
if ![support_nested_function_tests] {
|
||||
untested "compiler does not support nested functions"
|
||||
return -1
|
||||
}
|
||||
|
@ -24,8 +24,7 @@ standard_testfile
|
||||
|
||||
set testcase "nested-subp2"
|
||||
|
||||
get_compiler_info
|
||||
if { [test_compiler_info "clang-*"] } {
|
||||
if ![support_nested_function_tests] {
|
||||
untested "compiler does not support nested functions"
|
||||
return -1
|
||||
}
|
||||
|
@ -24,8 +24,7 @@ standard_testfile
|
||||
|
||||
set testcase "nested-subp3"
|
||||
|
||||
get_compiler_info
|
||||
if { [test_compiler_info "clang-*"] } {
|
||||
if ![support_nested_function_tests] {
|
||||
untested "compiler does not support nested functions"
|
||||
return -1
|
||||
}
|
||||
|
Reference in New Issue
Block a user