diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-07 12:18:59 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:57 -0700 |
commit | 79749205e72ace5dbec6f797b334c842dab1a45c (patch) | |
tree | 76be7dd8801f292c2e4ed8bc0e9362a73fb79cce /gdb/testsuite/gdb.rust | |
parent | d394684d5531ea85fc347d68910bed858880f2e0 (diff) | |
download | gdb-79749205e72ace5dbec6f797b334c842dab1a45c.zip gdb-79749205e72ace5dbec6f797b334c842dab1a45c.tar.gz gdb-79749205e72ace5dbec6f797b334c842dab1a45c.tar.bz2 |
Use "require" for Python tests
This changes various tests to use "require" for the Python feature.
Diffstat (limited to 'gdb/testsuite/gdb.rust')
-rw-r--r-- | gdb/testsuite/gdb.rust/pp.exp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.rust/pp.exp b/gdb/testsuite/gdb.rust/pp.exp index a456afc..d23463e 100644 --- a/gdb/testsuite/gdb.rust/pp.exp +++ b/gdb/testsuite/gdb.rust/pp.exp @@ -17,15 +17,13 @@ load_lib gdb-python.exp load_lib rust-support.exp -require !skip_rust_tests +require !skip_rust_tests !skip_python_tests standard_testfile .rs if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} { return -1 } -if { [skip_python_tests] } { return } - set remote_python_file [gdb_remote_download host \ ${srcdir}/${subdir}/${testfile}.py] gdb_test_no_output "source ${remote_python_file}" "load python file" |