mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
Use require with test_compiler_info
One spot that checks test_compiler_info can be switched to use 'require'.
This commit is contained in:
parent
24d59b55a8
commit
6349d27e30
@ -16,10 +16,7 @@
|
||||
standard_testfile
|
||||
|
||||
# Clang says it will never support variable length arrays in structures.
|
||||
if {[test_compiler_info clang*]} {
|
||||
unsupported "compiler does not support variable length arrays in structure"
|
||||
return
|
||||
}
|
||||
require {!test_compiler_info clang*}
|
||||
|
||||
if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
|
||||
return -1
|
||||
|
Loading…
Reference in New Issue
Block a user