From 7978d474f213ca9fbd37738f0d9350ff4a94d53b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 13 Dec 2022 15:35:59 -0700 Subject: Use require !skip_cplus_tests This changes some tests to use "require !skip_cplus_tests". --- gdb/testsuite/gdb.dwarf2/implref-const.exp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/testsuite/gdb.dwarf2/implref-const.exp') diff --git a/gdb/testsuite/gdb.dwarf2/implref-const.exp b/gdb/testsuite/gdb.dwarf2/implref-const.exp index fb1a958..13608ea 100644 --- a/gdb/testsuite/gdb.dwarf2/implref-const.exp +++ b/gdb/testsuite/gdb.dwarf2/implref-const.exp @@ -16,9 +16,7 @@ # Test a C++ reference marked with DW_OP_GNU_implicit_pointer. # The referenced value is a DW_AT_const_value. -if [skip_cplus_tests] { - return -} +require !skip_cplus_tests load_lib dwarf.exp -- cgit v1.1