aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-13 15:51:16 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:55 -0700
commitb47c999618b23466986800f64f78e557bcc02dd7 (patch)
treedbb45659a96ed54f178b5fb2ccfd39b4a72e6157
parent980d95b48c01c33295e893c7d9385ffa637d195b (diff)
downloadgdb-b47c999618b23466986800f64f78e557bcc02dd7.zip
gdb-b47c999618b23466986800f64f78e557bcc02dd7.tar.gz
gdb-b47c999618b23466986800f64f78e557bcc02dd7.tar.bz2
Use require !skip_dlmopen_tests
This changes some tests to use "require !skip_dlmopen_tests".
-rw-r--r--gdb/testsuite/gdb.base/dlmopen.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/dlmopen.exp b/gdb/testsuite/gdb.base/dlmopen.exp
index 6243f6e..4bbe37e 100644
--- a/gdb/testsuite/gdb.base/dlmopen.exp
+++ b/gdb/testsuite/gdb.base/dlmopen.exp
@@ -21,10 +21,7 @@
# We test that GDB shows the correct number of instances of the libraries
# the test loaded while unloading them one-by-one.
-if { [skip_dlmopen_tests] } {
- unsupported "target does not support dlmopen debugging"
- return -1
-}
+require !skip_dlmopen_tests
standard_testfile