summaryrefslogtreecommitdiff
path: root/tests/compile
diff options
context:
space:
mode:
authorda-woods <dw-git@d-woods.co.uk>2021-07-19 17:22:32 +0100
committerGitHub <noreply@github.com>2021-07-19 18:22:32 +0200
commite1a60bbe772ab6e83efe83c0c70e9938401e854d (patch)
treebdcabc605899ecb7856e7da3779eac5a3aeef77d /tests/compile
parent9f78ed075f7371f931c7fa76b45589841c25668f (diff)
downloadcython-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.pyx5
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 *:
"""