diff options
author | da-woods <dw-git@d-woods.co.uk> | 2021-07-19 17:22:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 18:22:32 +0200 |
commit | e1a60bbe772ab6e83efe83c0c70e9938401e854d (patch) | |
tree | bdcabc605899ecb7856e7da3779eac5a3aeef77d /tests/compile | |
parent | 9f78ed075f7371f931c7fa76b45589841c25668f (diff) | |
download | cython-e1a60bbe772ab6e83efe83c0c70e9938401e854d.tar.gz |
Resolve some issues with "cpp_locals" (GH-4265)
* Fix class attributes access where cpp_locals=False.
* Add "no-cpp-locals" tag to mark a test as not suitable for running with "cpp_locals=True".
* Add a list of "extra_directives" to runtests as additional test mode.
Resolves some issues in https://github.com/cython/cython/issues/4266
Diffstat (limited to 'tests/compile')
-rw-r--r-- | tests/compile/cpp_temp_assignment.pyx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/compile/cpp_temp_assignment.pyx b/tests/compile/cpp_temp_assignment.pyx index 296fedce9..58ae39a70 100644 --- a/tests/compile/cpp_temp_assignment.pyx +++ b/tests/compile/cpp_temp_assignment.pyx @@ -1,5 +1,8 @@ # tag: cpp,cpp11 -# mode: compile +# mode: compile +# tag: no-cpp-locals +# TODO cpp_locals works fine with the standard library that comes with gcc11 +# but not with gcc8. Therefore disable the test for now cdef extern from *: """ |