swig/Examples/test-suite/python
Erez Geva cb68446ece Fix Length & string reverse order typemap.
And add it to missing languages: C#, Java, Lua, PHP.

Signed-off-by: Erez Geva <ErezGeva2@gmail.com>
2025-07-28 17:07:42 +02:00
..
Makefile.in Merge branch 'master' into fix_1792 2025-07-19 09:53:34 +01:00
README Default to running tests with Python 3 2022-03-17 18:55:10 +13:00
abstract_access_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
abstract_basecast_runme.py Test ability to manipulate a daughter class from its base class wrapper 2022-02-12 19:40:03 -05:00
abstract_typedef2_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
abstract_typedef_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
abstract_virtual_runme.py Added test that shows a problem in the 'abstract detection method' when virtual base classes are used (in different order) 2003-02-21 21:03:05 +00:00
apply_typemap_typedefs_runme.py %apply and typedefs improvement 2024-11-09 13:30:19 +00:00
argcargvtest_runme.py argcargv.i: NULL terminate argv with empty input 2023-05-23 10:12:49 +12:00
array_member_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
arrays_global_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
autodoc_runme.py Move low level static methods 2022-03-18 11:10:14 +01:00
callback_runme.py Remove obsolete debug line from callback_runme.py 2023-05-17 13:38:04 +12:00
catches_strings_runme.py std::string throws typemaps 2022-09-19 09:09:29 +01:00
cbooltest_runme.py Add support for C99 _Bool 2024-09-25 06:23:48 +12:00
ccomplextest_runme.py Quieten ccomplextest 2020-10-10 15:21:13 +01:00
char_binary_rev_len_runme.py Fix Length & string reverse order typemap. 2025-07-28 17:07:42 +02:00
char_binary_runme.py Remove commented out testcase line 2023-06-11 09:45:29 +12:00
class_ignore_runme.py The great merge 2002-11-30 22:01:28 +00:00
class_scope_weird_runme.py added more cases 2005-10-17 13:43:35 +00:00
comment_verifier.py Test-suite: Unify string quoting in the Python sources 2019-07-14 12:58:21 +10:00
compactdefaultargs_runme.py Add tests for Python -builtin -O and compactdefaultargs and update changes file 2016-04-02 11:29:54 +01:00
complextest_runme.py Split C complex.h from C++ complex testing 2020-10-10 15:01:29 +01:00
constant_directive_runme.py fix handling of function pointers by %constant directive 2016-03-24 11:22:51 +01:00
constover_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
constructor_copy_non_const_runme.py Fix %copyctor used on class hierarchies with non-const copy constructor 2023-07-29 18:16:40 +01:00
constructor_copy_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
constructor_rename_runme.py fix regression of Python constructor renaming introduced by py3k work 2010-04-25 14:07:14 +00:00
contract_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
copyctor_runme.py Fix duplicate sym:overname values using %copyctor 2023-07-29 00:28:28 +01:00
cpp11_alternate_function_syntax_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_decltype_runme.py Support deducing decltype for false and true 2023-05-20 09:09:48 +12:00
cpp11_director_using_constructor_runme.py Add support for using declarations to introduce templated members 2023-08-07 07:37:28 +01:00
cpp11_final_class_runme.py Remove some final testing 2022-10-06 21:51:18 +01:00
cpp11_final_directors_runme.py Fix the handling of director classes with final methods 2019-02-22 06:28:53 -07:00
cpp11_function_objects_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_hash_tables_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_inheriting_constructors_runme.py Add support for C++11 using declarations for inheriting constructors 2023-07-04 12:07:16 +01:00
cpp11_initializer_list_extend_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_initializer_list_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_move_only_runme.py Add missing use of move constructor 2024-03-06 21:46:58 +00:00
cpp11_move_typemaps_runme.py Add missing use of move constructor 2024-03-06 21:46:58 +00:00
cpp11_null_pointer_constant_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_raw_string_literals_runme.py Testcase fix for python-3.12 2023-08-16 21:53:16 +01:00
cpp11_ref_qualifiers_runme.py Add support for conversion operators with ref-qualifiers 2017-08-30 18:17:05 +01:00
cpp11_ref_qualifiers_rvalue_unignore_runme.py Add unignore for rvalue ref-qualifiers 2017-08-30 18:17:04 +01:00
cpp11_result_of_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_rvalue_reference_move_runme.py C++ reference errors when passing in a 'NULL' change of behaviour. 2024-09-14 13:03:36 +01:00
cpp11_rvalue_reference_runme.py rvalue reference outputs 2022-09-08 08:46:32 +01:00
cpp11_shared_ptr_overload_runme.py Fix overloading of shared_ptr method overloading 2017-09-23 15:19:34 +01:00
cpp11_shared_ptr_template_upcast_runme.py Test shared_ptr upcasts in Python 2020-01-24 19:54:29 +00:00
cpp11_shared_ptr_upcast_runme.py Port Ruby test of vector<shared_ptr<>> to Python 2020-02-13 19:21:30 +00:00
cpp11_std_array_runme.py Add support for all STL containers to be constructible from a Python set 2023-04-26 18:18:15 +01:00
cpp11_std_unique_ptr_runme.py Add const std::unique_ptr & input typemaps 2024-03-06 21:46:58 +00:00
cpp11_strongly_typed_enumerations_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_template_explicit_runme.py [python] Replace uses of assert in testsuite 2022-01-30 13:38:56 +13:00
cpp11_template_typedefs_runme.py Add C++11 alias templates 2016-07-06 00:31:04 +03:00
cpp11_thread_local_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_type_aliasing_runme.py Added support for type alias 2016-06-22 23:13:28 +03:00
cpp11_type_traits_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp11_uniform_initialization_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
cpp11_using_constructor_runme.py Add support for using declarations to introduce templated members 2023-08-07 07:37:28 +01:00
cpp11_variadic_function_templates_runme.py Instantiation of C++11 variadic function templates 2023-01-03 22:38:46 +00:00
cpp11_variadic_templates_runme.py Add a variadic template in a struct test 2024-02-09 23:36:23 +00:00
cpp14_auto_return_type_runme.py auto without return type cleanup 2023-06-10 16:45:50 +01:00
cpp14_binary_integer_literals_runme.py Add tests for binary integer literal constants 2022-07-26 15:28:51 +12:00
cpp17_director_string_view_runme.py Sort out directorout typemaps for std::string_view 2023-12-21 10:59:44 +13:00
cpp17_hex_floating_literals_runme.py Add support for C++17 hexadecimal floating literals 2019-02-13 15:16:40 -07:00
cpp17_nested_namespaces_runme.py Add c++17 nested namespaces runtime test for Python 2018-05-14 21:03:31 +01:00
cpp17_std_filesystem_runme.py Correct const std::filesystem & typemaps 2023-11-18 10:03:52 +00:00
cpp17_string_view_runme.py Fix for using more than one std::string_view type in a method 2024-03-27 18:58:58 +00:00
cpp17_u8_char_literals_runme.py Test-suite: Unify string quoting in the Python sources 2019-07-14 12:58:21 +10:00
cpp20_spaceship_operator_runme.py cpp20_spaceship_operator_runme.py: Check ALIEN value 2022-08-05 04:53:15 +12:00
cpp_enum_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
cpp_namespace_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
cpp_parameters_runme.py Python -builtin constructors silently ignored keyword arguments. 2020-01-13 19:26:22 +00:00
cpp_static_runme.py Python shebang modernisation for python3 2024-09-22 22:11:33 +01:00
default_arg_values_runme.py [Python] Fix wrapping of bool const&x=true param 2025-06-09 11:31:19 +12:00
default_args_c_runme.py Fix C default arguments with -builtin and -fastunpack and -modernargs. 2018-10-04 08:06:01 +01:00
default_args_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
default_constructor_runme.py Remove further print statements from Python tests 2020-08-13 21:47:20 +01:00
director_abstract_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
director_alternating_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_basic_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
director_binary_string_rev_len_runme.py Fix Length & string reverse order typemap. 2025-07-28 17:07:42 +02:00
director_binary_string_runme.py Fixes of STRING/BYTES LENGTH typemaps. 2024-02-29 02:09:09 +01:00
director_classic_runme.py Fix incorrect director_classic_runme.py test 2015-10-10 01:26:29 +01:00
director_comparison_operators_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_default_runme.py added missing test 2004-11-08 06:12:07 +00:00
director_detect_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_enum_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
director_exception_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_extend_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_finalizer_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
director_frob_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_guard_runme.py Add test to director guard using multiple threads. 2024-07-12 18:54:10 +01:00
director_keywords_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
director_multiple_inheritance_runme.py [python] Fix inheriting from multiple director classes 2022-07-20 14:18:49 +12:00
director_nested_runme.py Fix undefined behaviour in directorout typemaps for void * and const char *& 2025-05-14 22:10:39 +01:00
director_pass_by_value_runme.py Performance optimisation for directors for classes passed by value 2022-07-04 11:19:29 +01:00
director_profile_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
director_property_runme.py More director const std::string& testing and C# leak fix 2022-02-13 23:00:04 +00:00
director_protected_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_smartptr_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
director_stl_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
director_string_runme.py Expand director_string_runme.* 2023-12-21 10:59:44 +13:00
director_thread_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
director_unroll_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
director_wstring_runme.py Add C# wchar_t * director typemaps 2022-05-04 21:37:47 +01:00
disown_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
doxygen_alias_runme.py Correct python example headers 2018-05-25 23:35:28 +01:00
doxygen_autodoc_docstring_runme.py doxygen_autodoc_docstring test fix for Python builtin 2022-04-06 22:33:17 +01:00
doxygen_basic_notranslate_runme.py Single line commment test corrections for last commit 2024-09-28 17:37:18 +01:00
doxygen_basic_translate_runme.py Merge branch 'Issue-1643' 2020-01-16 18:54:47 +00:00
doxygen_basic_translate_style2_runme.py Flag optional arguments in doxygen pydoc output 2019-08-07 16:42:39 -05:00
doxygen_basic_translate_style3_runme.py Correct recently expanded testcase from a merge for doxygen default parameter support 2020-01-16 19:49:16 +00:00
doxygen_code_blocks_runme.py Special handling for python doctest code blocks 2019-08-07 17:04:12 -05:00
doxygen_ignore_runme.py Correct python example headers 2018-05-25 23:35:28 +01:00
doxygen_misc_constructs_runme.py Fix generated Python code for Doxygen comments with triple quotes 2020-03-04 00:57:31 +01:00
doxygen_overloads_runme.py Fix Python docstring for overloads with some Doxygen comments 2024-07-18 15:35:04 +02:00
doxygen_parsing_runme.py Better detection of builtin in Python testcase 2018-08-14 19:16:25 +01:00
doxygen_translate_all_tags_runme.py Fix for missing space after \endlink in doxygen 2020-05-02 18:42:55 -05:00
doxygen_translate_links_runme.py Correct python example headers 2018-05-25 23:35:28 +01:00
doxygen_translate_runme.py Doxygen Java fix quoting for \image command 2022-10-06 00:29:03 +01:00
dynamic_cast_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
empty_c_runme.py Duplicate tests that are run twice as both C and C++ tests to fix parallel make: empty 2016-02-21 18:03:14 +00:00
empty_runme.py massive typemap unification 2005-10-18 13:24:15 +00:00
enum_forward_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
enum_template_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
enums_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
exception_classname_runme.py Replace assert from Python testcases with code that always runs. 2016-06-19 20:11:51 +01:00
exception_order_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
extend_placement_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
extend_template_method_runme.py Enhance %extend to extend a class with template constructors 2017-01-24 19:01:43 +00:00
extend_template_ns_runme.py The great merge 2002-11-30 22:01:28 +00:00
extend_template_runme.py The great merge 2002-11-30 22:01:28 +00:00
extend_variable_runme.py add Luigi's static patch for extended variables 2005-10-18 14:04:14 +00:00
extern_c_runme.py Remove assertions from python test cases 2022-02-14 10:33:10 +13:00
file_test_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
final_c_runme.py Add support for parsing C++11 final classes 2022-10-05 22:42:17 +01:00
friends_operator_overloading_runme.py Friend operator overloading fix for Python builtin 2024-01-27 14:56:55 +00:00
friends_runme.py Wrap friend functions that are defined or declared within a namespace 2024-01-15 19:18:13 +00:00
funcptr_cpp_runme.py Add Python runtime test for const function pointer 2018-11-13 07:35:44 +00:00
functors_runme.py Fix functors (wrapped as __call__) when using -builtin -modern -fastunpack. 2018-09-19 20:10:11 +01:00
fvirtual_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
global_functions_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
global_namespace_runme.py Drop support for Python classic classes 2018-10-12 07:10:47 +01:00
global_ns_arg_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
global_vars_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
grouping_runme.py This commit contains all changes to the regression tests which 2011-01-30 04:13:58 +00:00
hugemod.pl Update/fix hugemod test case to work again 2025-04-20 15:27:28 +01:00
iadd_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
ignore_parameter_runme.py Fix warning and improve description of ignore_parameter test 2022-02-27 18:15:39 +13:00
implicittest_runme.py Fix typecheck typemaps for non-pointers and NULL 2018-12-29 11:45:46 +00:00
import_callback_runme.py Py_LIMITED_API support in SwigPyObject_Check for -builtin 2025-06-09 18:36:13 +01:00
import_nomodule_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
import_stl_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
imports_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
inctest_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
inherit_missing_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
inout_typemaps_runme.py inout_typemaps test rework 2024-10-06 08:57:41 +01:00
inplaceadd_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
input_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
keyword_rename_c_runme.py Python shebang modernisation for python3 2024-09-22 22:11:33 +01:00
keyword_rename_runme.py Python shebang modernisation for python3 2024-09-22 22:11:33 +01:00
kwargs_feature_runme.py [Python] Add missing Python kwargs builtin support 2022-01-14 23:00:42 +00:00
langobj_runme.py Refactor python no-gil detection 2025-04-17 17:44:02 +01:00
li_attribute_runme.py Fix typos in attribute2ref() in Lib/typemaps/attribute.swg 2021-02-09 09:21:14 -07:00
li_attribute_template_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
li_boost_shared_ptr_bits_runme.py Drop support for Python classic classes 2018-10-12 07:10:47 +01:00
li_boost_shared_ptr_director_runme.py [python] Replace uses of assert in testsuite 2022-01-30 13:38:56 +13:00
li_boost_shared_ptr_runme.py C++ reference errors when passing in a 'NULL' change of behaviour. 2024-09-14 13:03:36 +01:00
li_boost_shared_ptr_template_runme.py %shared_ptr and %template testcase modified to work for python -O 2016-06-21 19:49:27 +01:00
li_carrays_cpp_runme.py Zero initialize newly created arrays 2016-12-18 17:50:47 +00:00
li_carrays_runme.py Zero initialize newly created arrays 2016-12-18 17:50:47 +00:00
li_cdata_cpp_runme.py Fixes of STRING/BYTES LENGTH typemaps. 2024-02-29 02:09:09 +01:00
li_cdata_runme.py Fixes of STRING/BYTES LENGTH typemaps. 2024-02-29 02:09:09 +01:00
li_cmalloc_runme.py add more cases 2005-10-19 10:56:37 +00:00
li_constraints_runme.py C++ reference errors when passing in a 'NULL' change of behaviour. 2024-09-14 13:03:36 +01:00
li_cpointer_cpp_runme.py Zero initialize %array_functions and %array_class 2016-12-18 17:50:47 +00:00
li_cpointer_runme.py Zero initialize %array_functions and %array_class 2016-12-18 17:50:47 +00:00
li_cstring_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
li_cwstring_runme.py Convert python test scripts to be Python 2 and 3 compatible 2020-08-15 00:09:31 +01:00
li_factory_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
li_implicit_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_auto_ptr_runme.py Add const std::unique_ptr & input typemaps 2024-03-06 21:46:58 +00:00
li_std_containers_int_runme.py Add support for all STL containers to be constructible from a Python set 2023-04-26 18:18:15 +01:00
li_std_containers_overload_runme.py Python STL container method overloading fix 2019-08-06 19:36:14 +01:00
li_std_except_as_class_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_map_member_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_map_runme.py Fix for STL containers static member and global variables 2024-02-18 14:21:17 +00:00
li_std_pair_extra_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_pair_runme.py Add basic std::pair Python testing 2020-08-13 16:06:48 +01:00
li_std_pair_using_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
li_std_set_runme.py Add support for all STL containers to be constructible from a Python set 2023-04-26 18:18:15 +01:00
li_std_stream_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
li_std_string_extra_runme.py Fixes for deprecated std::basic_string::reserve() 2022-07-31 01:02:08 +01:00
li_std_string_runme.py Fix seg fault passing invalid unicode values to std::string 2024-10-20 14:19:24 +01:00
li_std_vector_back_reference_runme.py Add std::vector back reference test 2019-02-18 21:39:17 +00:00
li_std_vector_enum_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_vector_extra_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
li_std_vector_ptr_runme.py Add missing typedefs to std::vector + typedef corrections 2019-02-13 22:46:28 +00:00
li_std_vector_runme.py Fix for STL containers static member and global variables 2024-02-18 14:21:17 +00:00
li_std_wstream_runme.py Convert python test scripts to be Python 2 and 3 compatible 2020-08-15 00:09:31 +01:00
li_std_wstring_inherit_runme.py Convert python test scripts to be Python 2 and 3 compatible 2020-08-15 00:09:31 +01:00
li_std_wstring_runme.py C++ reference errors when passing in a 'NULL' change of behaviour. 2024-09-14 13:03:36 +01:00
member_pointer_const_runme.py Add some tests for typedef to member function pointers 2017-03-10 23:25:31 +00:00
member_pointer_runme.py Add some tests for typedef to member function pointers 2017-03-10 23:25:31 +00:00
memberin_extend_c_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
minherit_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
mod_runme.py avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example 2006-01-20 18:59:06 +00:00
multi_import_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
multivalue_runme.py [python] Add multivalue_runme.py 2022-01-21 11:10:30 +13:00
name_warnings_runme.py Remove assertions from python test cases 2022-02-14 10:33:10 +13:00
namespace_class_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
namespace_typemap_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
namespace_virtual_method_runme.py new tests 2003-04-23 18:00:17 +00:00
naturalvar_runme.py add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods. 2005-12-27 21:48:56 +00:00
nested_in_template_runme.py Avoid comparing doubles in nested_in_template.i unit test 2018-12-04 20:46:35 +01:00
nested_runme.py Add testcase for nested C struct name conflict 2018-08-20 19:21:14 +01:00
nested_template_base_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
nested_workaround_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
not_c_keywords_runme.py complex can now be used as an identifier 2020-10-10 16:07:55 +01:00
operator_overload_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
operbool_runme.py Python shebang modernisation for python3 2024-09-22 22:11:33 +01:00
overload_bool_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
overload_complicated_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
overload_copy_runme.py The great merge 2002-11-30 22:01:28 +00:00
overload_extend2_runme.py rename overload_extendc testcase 2016-02-21 18:04:04 +00:00
overload_extend_c_runme.py Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend 2016-02-21 19:24:11 +00:00
overload_extend_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
overload_null_runme.py Shorten testcase variable names for Scilab 6 to work 2021-11-15 22:45:56 +00:00
overload_numeric_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
overload_rename_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
overload_simple_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
overload_subtype_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
overload_template_fast_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
overload_template_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
pointer_reference_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
preproc_cpp_runme.py preproc_cpp test for testing preprocessor and C++ 2021-12-22 19:06:00 +00:00
preproc_defined_runme.py Adjust new tests 2023-04-19 15:50:56 +12:00
preproc_gcc_output_runme.py Fix regression parsing gcc preprocessor linemarkers 2019-02-19 21:32:04 +00:00
preproc_include_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
preproc_runme.py Add testcase for macros with commas in comment 2017-04-27 19:47:29 +01:00
primitive_ref_runme.py Test-suite: Unify string quoting in the Python sources 2019-07-14 12:58:21 +10:00
primitive_types_runme.py Fix undefined behaviour in directorout typemaps for void * and const char *& 2025-05-14 22:10:39 +01:00
profiletest_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
profiletestc_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
pyabi311_bufferinterface_runme.py Enable Python builtin heap types buffer interface (#3219) 2025-07-18 07:43:34 +01:00
python_abstractbase_runme.py Add Python < 3.3 support for pyabc.i 2022-03-23 07:58:01 +00:00
python_annotations_c_runme.py Turn on Python annotations testing again 2022-02-28 19:40:35 +00:00
python_annotations_variable_c_runme.py Python: Amend annotations test 2025-04-25 22:13:46 +02:00
python_append_runme.py Fixing setting this in Python when using __slots__ 2020-02-06 07:08:16 +00:00
python_builtin_runme.py Add python builtin testcase for handling NULL in a couple of closures 2024-01-31 22:35:57 +00:00
python_destructor_exception_runme.py Convert two tests to work with both Python 2 and 3 2020-08-13 23:34:28 +01:00
python_docstring_runme.py Python docstring whitespace strip for single lines 2024-09-28 15:30:41 +01:00
python_extranative_runme.py Python - fix compilation error when using -extranative and -builtin. 2016-11-02 22:00:54 +00:00
python_flatstaticmethod_runme.py Test -flatstaticmethod and %extend 2022-03-21 19:23:15 +00:00
python_moduleimport_runme.py Test swig runtime module contains expected names 2025-05-13 21:49:37 +01:00
python_nondynamic_runme.py Drop is_python_modern() in testcase 2022-01-26 12:30:44 +13:00
python_overload_simple_cast_runme.py Suppress DeprecatedWarning in python_overload_simple_cast_runme testcase 2025-05-13 21:49:37 +01:00
python_pickle_runme.py Rename debug in testcases to trace 2022-08-20 15:09:23 +01:00
python_pybuffer_runme.py Update python_pybuffer_runme.py syntax for working under both python 2 and 3 2020-10-07 22:41:04 +01:00
python_pythoncode_runme.py Testcase for testing __new__ override Python 3.6 fix 2018-12-20 08:10:35 +00:00
python_richcompare_runme.py Correct SwigPyObject_richcompare and SwigPyObject_compare undefined behaviour (#3216) 2025-07-09 19:07:44 +01:00
python_runtime_data_runme.py Different capsule names for builtin changes entry 2022-03-26 15:06:13 +00:00
python_strict_unicode_runme.py Python 3.2 syntax error fixes in tests 2020-08-15 23:51:40 +01:00
python_threads_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
python_typemap_macro_runme.py $typemap() fix for handling variable overrides 2023-11-03 09:07:51 +00:00
python_varargs_typemap_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
python_various_runme.py Replace use of tp_name in builtin wrappers for Py_LIMITED_API support 2025-07-09 19:19:01 +01:00
python_weakref_runme.py Python weakref support for builtin wrappers and limited API 2025-07-23 22:32:54 +01:00
pythonswig.supp Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig 2008-05-20 21:27:22 +00:00
refcount_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
reference_global_vars_runme.py Test-suite: Unify string quoting in the Python sources 2019-07-14 12:58:21 +10:00
rename_pcre_encoder_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
rename_predicates_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
rename_rstrip_encoder_runme.py Add rstrip encoder for use in %rename. 2016-03-02 07:11:09 +00:00
rename_scope_runme.py add test for rename 2006-02-17 20:46:13 +00:00
rename_strip_encoder_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
ret_by_value_runme.py add runme test 2004-10-02 02:31:30 +00:00
return_const_value_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
smart_pointer_const_overload_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_extend_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_member_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
smart_pointer_multi_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_multi_typedef_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_not_runme.py Remove further print statements from Python tests 2020-08-13 21:47:20 +01:00
smart_pointer_overload_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_rename_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_simple_runme.py The great merge 2002-11-30 22:01:28 +00:00
smart_pointer_templatevariables_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
smart_pointer_typedef_runme.py The great merge 2002-11-30 22:01:28 +00:00
sneaky1_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
special_variable_macros_runme.py Add support for $n special variable expansion in the names of typemap local variables 2025-02-19 20:44:40 +00:00
static_const_member_2_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
std_containers_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
struct_initialization_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
struct_rename_runme.py new test 2003-09-01 17:54:18 +00:00
struct_value_runme.py Fix testcase error message text which changed in python-3.11 2025-06-27 08:03:39 +01:00
swigobject_runme.py Convert swigobject python test to be python 2 and 3 compatible 2020-08-14 23:27:35 +01:00
template_class_reuse_name_runme.py Allow an instantiated template to have the same name as the C++ template name 2017-09-29 23:28:04 +01:00
template_classes_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
template_construct_runme.py The great merge 2002-11-30 22:01:28 +00:00
template_default_arg_overloaded_extend_runme.py Testcase fix for R 2016-05-07 19:30:13 +01:00
template_default_arg_overloaded_runme.py Fix overloaded templates and default arguments 2015-10-11 17:30:34 +01:00
template_default_arg_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
template_default_cache_runme.py Add template_default_cache runtime tests 2017-01-16 07:46:03 +00:00
template_extend1_runme.py new tests 2003-02-18 21:25:31 +00:00
template_extend2_runme.py new tests 2003-02-18 21:25:31 +00:00
template_inherit_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_matrix_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_ns4_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_ns_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_opaque_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_ref_type_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_rename_runme.py fixes for %templates/%rename/%features + templates 2006-02-05 20:25:43 +00:00
template_static_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
template_tbase_template_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_template_parameters_runme.py Improved template template parameters support. 2022-12-02 19:16:02 +00:00
template_templated_constructors_runme.py More refactoring for internal destructor and constructor names 2023-07-22 18:21:32 +01:00
template_type_namespace_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_typedef_cplx2_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
template_typedef_cplx3_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_typedef_cplx4_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_typedef_cplx_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
template_typedef_import_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
template_typedef_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
template_typemaps_typedef2_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
template_typemaps_typedef_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
template_using_directive_typedef_runme.py Add using declarations to templates into typedef table. 2017-08-16 00:24:25 +01:00
template_using_member_default_arg_runme.py Fix using declarations and templates with explicitly declared constructors 2023-07-12 18:44:42 +01:00
threads_exception_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
typedef_class_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
typedef_classforward_same_name_runme.py Add more runtime typedef_classforward_same_name runtime testing 2017-12-31 16:37:27 +00:00
typedef_funcptr_runme.py Fix handling of typedef'd function pointers for Go 2017-03-17 07:49:21 +00:00
typedef_inherit_runme.py Polymorphism in R wrappers fixed for C++ structs 2022-10-24 08:56:55 +01:00
typedef_scope_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
typedef_typedef_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
typemap_arrays_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
typemap_delete_runme.py Fix typemap delete regression introduced in rev 11838 2010-05-03 22:58:27 +00:00
typemap_documentation_runme.py Update documentation for using SWIG_ConvertPtr example usage 2016-10-23 20:16:35 +01:00
typemap_namespace_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
typemap_ns_using_runme.py The great merge 2002-11-30 22:01:28 +00:00
typemap_out_optimal_runme.py Rename debug in testcases to trace 2022-08-20 15:09:23 +01:00
typemap_qualifier_strip_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
typemap_template_typedef_runme.py Typemap change for templates 2017-08-16 00:24:06 +01:00
typename_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
types_directive_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00
unicode_strings_runme.py Python 3.2 syntax error fixes in tests 2020-08-15 23:51:40 +01:00
unions_runme.py Remove print statements from Python tests 2020-08-13 21:22:47 +01:00
using1_runme.py The great merge 2002-11-30 22:01:28 +00:00
using2_runme.py The great merge 2002-11-30 22:01:28 +00:00
using_composition_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
using_extend_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
using_inherit_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
using_member_multiple_inherit_runme.py Adding test case for #2872. 2024-04-27 09:19:09 -07:00
using_member_runme.py Using declarations in inheritance hierarchy improvements. 2022-02-26 12:46:06 +00:00
using_private_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
using_protected_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
varargs_overload_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
varargs_runme.py Python -builtin fix wrapping constructors with varargs 2021-03-23 23:57:49 +00:00
virtual_derivation_runme.py Convert python tests using 2to3 2020-08-15 00:16:04 +01:00
virtual_poly_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
voidtest_runme.py Update Python tests to not use flatstaticmethod access 2022-01-14 22:48:11 +00:00
wrapmacro_runme.py autopep8 cleanup of Examples/test-suite/python 2015-05-08 21:35:52 -04:00

README

See ../README for common README file.

Any testcases which have _runme.py appended after the testcase name will be detected and run.

The _runme.py files needs to work for both Python 2.x and 3.x.

By default testcases are run with Python 3.  You can run make with PY2=1 to run test case with Python 2, eg.

  $ make voidtest.cpptest PY2=1