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/gdb.python | |
parent | 1ed844ca1e581f80b3ecdcc99a8dab11034e684d (diff) | |
download | binutils-0b94d2b9aa06bcb6d1141e61d36c3a99620861fe.zip binutils-0b94d2b9aa06bcb6d1141e61d36c3a99620861fe.tar.gz binutils-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/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-explore-cc.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-template.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-typeprint.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-value-cc.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-value.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-xmethods.exp | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.python/py-explore-cc.exp b/gdb/testsuite/gdb.python/py-explore-cc.exp index d3678cf..a467e84 100644 --- a/gdb/testsuite/gdb.python/py-explore-cc.exp +++ b/gdb/testsuite/gdb.python/py-explore-cc.exp @@ -16,7 +16,7 @@ # This file is part of the GDB testsuite. It tests the mechanism # exposing values to Python. -require !skip_cplus_tests !skip_python_tests +require allow_cplus_tests !skip_python_tests standard_testfile py-explore.cc diff --git a/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp b/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp index 66a0101..aeb3f9c 100644 --- a/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp +++ b/gdb/testsuite/gdb.python/py-rvalue-ref-value-cc.exp @@ -17,7 +17,7 @@ # exposing rvalue reference values to Python. It is based on # gdb.python/py-value-cc.exp. -require !skip_cplus_tests !skip_python_tests +require allow_cplus_tests !skip_python_tests standard_testfile .cc diff --git a/gdb/testsuite/gdb.python/py-template.exp b/gdb/testsuite/gdb.python/py-template.exp index 14ebb67..b337bfb 100644 --- a/gdb/testsuite/gdb.python/py-template.exp +++ b/gdb/testsuite/gdb.python/py-template.exp @@ -16,7 +16,7 @@ # This file is part of the GDB testsuite. It tests the mechanism # exposing values to Python. -require !skip_cplus_tests !skip_python_tests +require allow_cplus_tests !skip_python_tests standard_testfile .cc if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ diff --git a/gdb/testsuite/gdb.python/py-typeprint.exp b/gdb/testsuite/gdb.python/py-typeprint.exp index 37e2929..219e852 100644 --- a/gdb/testsuite/gdb.python/py-typeprint.exp +++ b/gdb/testsuite/gdb.python/py-typeprint.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -require !skip_cplus_tests !skip_python_tests +require allow_cplus_tests !skip_python_tests load_lib gdb-python.exp load_lib cp-support.exp diff --git a/gdb/testsuite/gdb.python/py-value-cc.exp b/gdb/testsuite/gdb.python/py-value-cc.exp index 4085a87..69439e2 100644 --- a/gdb/testsuite/gdb.python/py-value-cc.exp +++ b/gdb/testsuite/gdb.python/py-value-cc.exp @@ -16,7 +16,7 @@ # This file is part of the GDB testsuite. It tests the mechanism # exposing values to Python. -require !skip_cplus_tests !skip_python_tests +require allow_cplus_tests !skip_python_tests standard_testfile .cc diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 8ab188c..26ad72a 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -664,7 +664,7 @@ test_value_after_death test_subscript_regression "${binfile}" "c" -if ![skip_cplus_tests] { +if {[allow_cplus_tests]} { if { [build_inferior "${binfile}-cxx" "c++"] < 0 } { return -1 } diff --git a/gdb/testsuite/gdb.python/py-xmethods.exp b/gdb/testsuite/gdb.python/py-xmethods.exp index 6a9e5f2..c164fec 100644 --- a/gdb/testsuite/gdb.python/py-xmethods.exp +++ b/gdb/testsuite/gdb.python/py-xmethods.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp -require !skip_cplus_tests !skip_python_tests +require allow_cplus_tests !skip_python_tests standard_testfile py-xmethods.cc |