mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
Use require !skip_rust_tests
This changes some tests to use "require !skip_rust_tests".
This commit is contained in:
@ -16,9 +16,7 @@
|
|||||||
# Test that a rustc-produced .debug_aranges can be read.
|
# Test that a rustc-produced .debug_aranges can be read.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
# Rust compiler. This serves as a smoke test.
|
# Rust compiler. This serves as a smoke test.
|
||||||
|
|
||||||
load_lib "rust-support.exp"
|
load_lib "rust-support.exp"
|
||||||
if {[skip_rust_tests]} { return }
|
require !skip_rust_tests
|
||||||
|
|
||||||
gdb_start
|
gdb_start
|
||||||
|
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test trait object printing.
|
# Test trait object printing.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test expressions involving generics.
|
# Test expressions involving generics.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test method calls.
|
# Test method calls.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test name lookup.
|
# Test name lookup.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
|
|
||||||
load_lib gdb-python.exp
|
load_lib gdb-python.exp
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test raw identifiers.
|
# Test raw identifiers.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
set v [split [rust_compiler_version] .]
|
set v [split [rust_compiler_version] .]
|
||||||
if {[lindex $v 0] == 1 && [lindex $v 1] < 30} {
|
if {[lindex $v 0] == 1 && [lindex $v 1] < 30} {
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test CLI output styling for Rust.
|
# Test CLI output styling for Rust.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
save_vars { env(TERM) } {
|
save_vars { env(TERM) } {
|
||||||
# We need an ANSI-capable terminal to get the output.
|
# We need an ANSI-capable terminal to get the output.
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test expression parsing and evaluation that requires Rust compiler.
|
# Test expression parsing and evaluation that requires Rust compiler.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test trait object printing.
|
# Test trait object printing.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test raw identifiers.
|
# Test raw identifiers.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
# Non-ASCII identifiers were allowed starting in 1.53.
|
# Non-ASCII identifiers were allowed starting in 1.53.
|
||||||
set v [split [rust_compiler_version] .]
|
set v [split [rust_compiler_version] .]
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test of "union" for Rust.
|
# Test of "union" for Rust.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test expression parsing and evaluation that requires Rust compiler.
|
# Test expression parsing and evaluation that requires Rust compiler.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
@ -16,9 +16,7 @@
|
|||||||
# Test watch -location with Rust.
|
# Test watch -location with Rust.
|
||||||
|
|
||||||
load_lib rust-support.exp
|
load_lib rust-support.exp
|
||||||
if {[skip_rust_tests]} {
|
require !skip_rust_tests
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
standard_testfile .rs
|
standard_testfile .rs
|
||||||
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {
|
||||||
|
Reference in New Issue
Block a user