diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-08 10:47:09 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:57 -0700 |
commit | 0b94d2b9aa06bcb6d1141e61d36c3a99620861fe (patch) | |
tree | 80bf9175a3dffc70def5db1e7e281cc1644e1cfd /gdb/testsuite/lib | |
parent | 1ed844ca1e581f80b3ecdcc99a8dab11034e684d (diff) | |
download | gdb-0b94d2b9aa06bcb6d1141e61d36c3a99620861fe.zip gdb-0b94d2b9aa06bcb6d1141e61d36c3a99620861fe.tar.gz gdb-0b94d2b9aa06bcb6d1141e61d36c3a99620861fe.tar.bz2 |
Rename to allow_cplus_tests and allow_stl_tests
This changes skip_cplus_tests to invert the sense, and renames it to
allow_cplus_tests. This one also converts skip_stl_tests to
allow_stl_tests, as that was convenient to do at the same time.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 40a1261..b1d0e7a 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2379,29 +2379,28 @@ proc gdb_compile_test {src output} { fail "$msg" } -# Return a 1 for configurations for which we don't even want to try to -# test C++. +# Return a 1 for configurations for which we want to try to test C++. -proc skip_cplus_tests {} { +proc allow_cplus_tests {} { if { [istarget "h8300-*-*"] } { - return 1 + return 0 } # The C++ IO streams are too large for HC11/HC12 and are thus not # available. The gdb C++ tests use them and don't compile. if { [istarget "m6811-*-*"] } { - return 1 + return 0 } if { [istarget "m6812-*-*"] } { - return 1 + return 0 } - return 0 + return 1 } -# Return a 1 for configurations for which don't have both C++ and the STL. +# Return a 0 for configurations which are missing either C++ or the STL. -proc skip_stl_tests {} { - return [skip_cplus_tests] +proc allow_stl_tests {} { + return [allow_cplus_tests] } # Return a 1 if I don't even want to try to test FORTRAN. |