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-value.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-value.exp')
-rw-r--r-- | gdb/testsuite/gdb.guile/scm-value.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.guile/scm-value.exp b/gdb/testsuite/gdb.guile/scm-value.exp index 9858b1c..a00c940 100644 --- a/gdb/testsuite/gdb.guile/scm-value.exp +++ b/gdb/testsuite/gdb.guile/scm-value.exp @@ -18,6 +18,8 @@ load_lib gdb-guile.exp +require allow_guile_tests + standard_testfile set has_argv0 [gdb_has_argv0] @@ -427,9 +429,6 @@ if { [build_inferior "${binfile}" "c"] < 0 } { # Start with a fresh gdb. clean_restart ${binfile} -# Skip all tests if Guile scripting is not enabled. -if { [skip_guile_tests] } { continue } - gdb_install_guile_utils gdb_install_guile_module |