swig/Examples/test-suite/ruby
William S Fulton 763827c2e1 Ruby opaque pointer handling regression fix
This bug was introduced in swig-3.0.8 in #146252 adding shared_ptr
support. An ObjectPreviouslyDeleted error was incorrectly thrown
when the pointer was used as a parameter after being set to zero
via a call to 'DATA_PTR(self) = 0'.

It isn't clear to me which approach is better in this corner case,
so I've gone for backwards compatibility and restored the old behaviour.

Closes #602
2016-05-24 19:09:17 +01:00
..
abstract_access_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
abstract_inherit_ok_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
abstract_inherit_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
abstract_signature_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
abstract_typedef2_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
abstract_typedef_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
abstract_virtual_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
access_change_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
add_link_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
aggregate_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
anonymous_bitfield_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
apply_signed_char_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
apply_strings_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
argout_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
array_member_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
arrays_global_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
arrays_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
bools_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
cast_operator_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
casts_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
char_constant_runme.rb Make string encoding explitic 2013-11-29 14:02:51 +01:00
check_missing_tests.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
class_ignore_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
const_const_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
constover_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
cpp11_li_std_array_runme.rb Limited Python/Ruby support for boost::array 2015-11-27 19:30:22 +00:00
cpp11_strongly_typed_enumerations_runme.rb Add c++11 strongly typed enums runtime test for Ruby 2014-11-27 19:59:16 +00:00
cpp_namespace_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
default_constructor_runme.rb Don't generate constructor wrappers if a base class has a private constructor 2015-07-07 20:15:55 +01:00
director_abstract_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_basic_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_constructor_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_default_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_detect_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_exception_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_frob_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_nested_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_protected_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_smartptr_runme.rb Director smartptr testing 2015-09-30 07:53:19 +01:00
director_string_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_unroll_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
director_wombat_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
disown_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
dynamic_cast_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
enum_thorough_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
enums_runme.rb Added new arrays_runme.rb tests 2007-09-04 06:07:33 +00:00
extend_template_ns_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
extend_template_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
friends_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
function_typedef_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
grouping_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
ignore_parameter_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
imports_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
inherit_missing_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
integers_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_boost_array_runme.rb Limited Python/Ruby support for boost::array 2015-11-27 19:30:22 +00:00
li_boost_shared_ptr_bits_runme.rb Add more Ruby shared_ptr runtime tests 2015-09-26 00:12:57 +01:00
li_boost_shared_ptr_runme.rb li_boost_shared_ptr tests cleanup 2015-09-25 23:14:34 +01:00
li_boost_shared_ptr_template_runme.rb Add more Ruby shared_ptr runtime tests 2015-09-26 00:12:57 +01:00
li_carrays_cpp_runme.rb Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_carrays 2016-02-21 18:04:04 +00:00
li_carrays_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
li_cstring_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_factory_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
li_math_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_deque_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
li_std_functors_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_map_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_multimap_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_pair_lang_object_runme.rb correct module to use 2007-09-04 22:42:07 +00:00
li_std_pair_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_queue_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_set_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_speed2_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_stack_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_stream_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_string_runme.rb variable name changes to remove php keywords 2008-06-24 20:11:46 +00:00
li_std_vector_enum_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
li_std_vector_runme.rb Ruby STL container setting slices fixes 2015-11-25 10:13:30 +00:00
Makefile.in Ruby opaque pointer handling regression fix 2016-05-24 19:09:17 +01:00
member_pointer_runme.rb Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples 2007-08-09 23:47:13 +00:00
minherit_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
namespace_typemap_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
newobject1_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
newobject2_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
overload_bool_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
overload_copy_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
overload_extend2_runme.rb rename overload_extendc testcase 2016-02-21 18:04:04 +00:00
overload_extend_c_runme.rb 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.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
overload_simple_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
overload_subtype_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
overload_template_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
primitive_ref_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
primitive_types_runme.rb [Ruby] Fix to handle FIXNUM values greater than MAXINT passed for a double parameter. 2009-06-26 01:49:33 +00:00
profiletest_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
README The great merge 2002-11-30 22:01:28 +00:00
refcount_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
reference_global_vars_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
rename_scope_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
ruby_keywords_runme.rb modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes. 2008-11-26 21:35:15 +00:00
ruby_li_std_speed_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
ruby_manual_proxy_runme.rb Ruby opaque pointer handling regression fix 2016-05-24 19:09:17 +01:00
ruby_minherit_shared_ptr_runme.rb Ruby shared_ptr fixes for use with minherit 2015-10-01 22:36:01 +01:00
ruby_naming_runme.rb Apply patch 3530444 2012-12-15 16:16:40 +00:00
ruby_track_objects_directors_runme.rb modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes. 2008-11-26 21:35:15 +00:00
ruby_track_objects_runme.rb modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes. 2008-11-26 21:35:15 +00:00
smart_pointer_const_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
smart_pointer_multi_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
smart_pointer_multi_typedef_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
smart_pointer_not_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
smart_pointer_overload_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
smart_pointer_rename_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
smart_pointer_simple_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
smart_pointer_typedef_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
sneaky1_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
static_const_member_2_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
std_containers_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
stl_new_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
struct_value_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
swig_assert.rb Add out of bounds Ruby std::vector and std::array access testing 2015-11-25 09:19:13 +00:00
swig_gc.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
template_construct_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
template_extend1_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
template_extend2_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
template_inherit_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
template_ns4_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
template_ns_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
template_rename_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
template_tbase_template_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
template_type_namespace_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
template_typedef_cplx2_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
template_typedef_cplx3_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
template_typedef_cplx4_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
template_typedef_cplx_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
throw_exception_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
typedef_inherit_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
typedef_scope_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
typemap_namespace_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
typemap_ns_using_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
typename_runme.rb Remove execute permissions from various non-executable files 2014-05-02 20:06:11 +02:00
unions_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
using1_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
using2_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
using_composition_runme.rb Fix using statements for overloaded methods 2007-11-30 22:34:50 +00:00
using_extend_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
using_inherit_runme.rb Fix using statements for overloaded methods 2007-11-30 22:34:50 +00:00
using_private_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
using_protected_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
varargs_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
virtual_derivation_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
virtual_poly_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00
voidtest_runme.rb Removed macro stuff titles of author, copyright, 2007-05-06 18:02:24 +00:00

See ../README for common README file.

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