mirror of https://github.com/swig/swig
Don't run abi3audit on builtin test
This commit is contained in:
parent
fb41e7290e
commit
86e5e8d5e2
|
@ -124,10 +124,11 @@ VALGRIND_OPT += --suppressions=pythonswig.supp
|
||||||
python_flatstaticmethod.cpptest: SWIGOPT += -flatstaticmethod
|
python_flatstaticmethod.cpptest: SWIGOPT += -flatstaticmethod
|
||||||
|
|
||||||
# Make sure just python_runtime_data_builtin.i uses the -builtin option. Note: does not use python_runtime_data.list for all steps.
|
# Make sure just python_runtime_data_builtin.i uses the -builtin option. Note: does not use python_runtime_data.list for all steps.
|
||||||
|
# PY_ABI_VER is unset for python_runtime_data_builtin because stable ABI is not supported by builtin
|
||||||
python_runtime_data.multicpptest: override SWIG_FEATURES := $(filter-out -builtin,$(SWIG_FEATURES))
|
python_runtime_data.multicpptest: override SWIG_FEATURES := $(filter-out -builtin,$(SWIG_FEATURES))
|
||||||
python_runtime_data.multicpptest: override SWIGOPT := $(filter-out -builtin,$(SWIGOPT))
|
python_runtime_data.multicpptest: override SWIGOPT := $(filter-out -builtin,$(SWIGOPT))
|
||||||
python_runtime_data.multicpptest: swig_and_compile_multi_cpp = \
|
python_runtime_data.multicpptest: swig_and_compile_multi_cpp = \
|
||||||
$(call swig_and_compile_cpp_helper,python_runtime_data_builtin,'$(SWIGOPT) -builtin') && \
|
$(call swig_and_compile_cpp_helper,python_runtime_data_builtin,'$(SWIGOPT) -builtin' PY_ABI_VER=) && \
|
||||||
$(call swig_and_compile_cpp_helper,python_runtime_data_nobuiltin,'$(SWIGOPT)')
|
$(call swig_and_compile_cpp_helper,python_runtime_data_nobuiltin,'$(SWIGOPT)')
|
||||||
|
|
||||||
# Rules for the different types of tests
|
# Rules for the different types of tests
|
||||||
|
|
|
@ -2,11 +2,13 @@
|
||||||
|
|
||||||
%module python_runtime_data_builtin
|
%module python_runtime_data_builtin
|
||||||
|
|
||||||
|
#if defined(SWIGPYTHON_BUILTIN)
|
||||||
%begin %{
|
%begin %{
|
||||||
#if defined(Py_LIMITED_API)
|
#if defined(Py_LIMITED_API)
|
||||||
#undef Py_LIMITED_API // not yet supported by builtin
|
#undef Py_LIMITED_API // not yet supported by builtin
|
||||||
#endif
|
#endif
|
||||||
%}
|
%}
|
||||||
|
#endif
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
#ifdef SWIGPYTHON_BUILTIN
|
#ifdef SWIGPYTHON_BUILTIN
|
||||||
|
|
Loading…
Reference in New Issue