diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-08 12:01:33 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:58 -0700 |
commit | e71b6502bffecbbdd99a791c6ee7545603bafbc1 (patch) | |
tree | bb5cc79c122ab243a47d940423c5d0ef72a40ea4 /gdb/testsuite/gdb.guile/scm-arch.exp | |
parent | e0c86460bcd9e19bb3f069af19ab5d1e3333e4c9 (diff) | |
download | gdb-e71b6502bffecbbdd99a791c6ee7545603bafbc1.zip gdb-e71b6502bffecbbdd99a791c6ee7545603bafbc1.tar.gz gdb-e71b6502bffecbbdd99a791c6ee7545603bafbc1.tar.bz2 |
Rename to allow_guile_tests
This changes skip_guile_tests to invert the sense, and renames it to
allow_guile_tests. It also rewrites this proc to check the output of
"gdb --configuration", as was done for Python. Then it changes the
code to use "require" where possible.
Diffstat (limited to 'gdb/testsuite/gdb.guile/scm-arch.exp')
-rw-r--r-- | gdb/testsuite/gdb.guile/scm-arch.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.guile/scm-arch.exp b/gdb/testsuite/gdb.guile/scm-arch.exp index 7ec1db1..c2554d8 100644 --- a/gdb/testsuite/gdb.guile/scm-arch.exp +++ b/gdb/testsuite/gdb.guile/scm-arch.exp @@ -15,15 +15,14 @@ load_lib gdb-guile.exp +require allow_guile_tests + standard_testfile if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } { return } -# Skip all tests if Guile scripting is not enabled. -if { [skip_guile_tests] } { continue } - if ![gdb_guile_runto_main] { return } |