aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.guile/scm-value.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-08 12:01:33 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:58 -0700
commite71b6502bffecbbdd99a791c6ee7545603bafbc1 (patch)
treebb5cc79c122ab243a47d940423c5d0ef72a40ea4 /gdb/testsuite/gdb.guile/scm-value.exp
parente0c86460bcd9e19bb3f069af19ab5d1e3333e4c9 (diff)
downloadgdb-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.exp5
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