swig/Examples/test-suite/ruby
William S Fulton 5d529d5a76 Ruby 1.9 fixes.
SF Bug#1292 - Runtime fixes for Proc changes in ruby-1.9 when using STL wrappers that override the default predicate, such as:

  %template(Map) std::map<swig::LANGUAGE_OBJ, swig::LANGUAGE_OBJ, swig::BinaryPredicate<> >;

Fixes li_std_functors testcases for Ruby 1.9.

Also rb_respond_to return values have changed subtely in 1.9 and return should be treated as a flag instead of checking for Qtrue, see SF Bug #1159.

Also fix li_std_map, li_std_set silently failing - rb_protect behaviour seems to have changed when an exception is thrown, so code has been changed to use rb_rescue. A call to 'rb_set_errinfo(Qnil)' could have solved this after the rb_protect call, but it is only available in 1.9+ and Ruby API changes are not easily and transparently detectable.
2013-04-05 23:41:59 +01:00
..
abstract_access_runme.rb
abstract_inherit_ok_runme.rb
abstract_inherit_runme.rb
abstract_signature_runme.rb
abstract_typedef2_runme.rb
abstract_typedef_runme.rb
abstract_virtual_runme.rb
access_change_runme.rb
add_link_runme.rb
aggregate_runme.rb
anonymous_bitfield_runme.rb
apply_signed_char_runme.rb
apply_strings_runme.rb
argout_runme.rb
array_member_runme.rb
arrays_global_runme.rb
arrays_runme.rb
bools_runme.rb
cast_operator_runme.rb
casts_runme.rb
char_constant_runme.rb
check_missing_tests.rb
class_ignore_runme.rb
const_const_runme.rb
constover_runme.rb
cpp_namespace_runme.rb
default_constructor_runme.rb
director_abstract_runme.rb
director_basic_runme.rb
director_constructor_runme.rb
director_default_runme.rb
director_detect_runme.rb
director_exception_runme.rb
director_frob_runme.rb
director_nested_runme.rb
director_protected_runme.rb
director_string_runme.rb
director_unroll_runme.rb
director_wombat_runme.rb
disown_runme.rb
dynamic_cast_runme.rb
enum_thorough_runme.rb
enums_runme.rb
extend_template_ns_runme.rb
extend_template_runme.rb
friends_runme.rb
function_typedef_runme.rb
grouping_runme.rb
ignore_parameter_runme.rb
imports_runme.rb
inherit_missing_runme.rb
integers_runme.rb
li_carrays_runme.rb
li_cstring_runme.rb
li_factory_runme.rb
li_math_runme.rb
li_std_deque_runme.rb
li_std_functors_runme.rb Ruby 1.9 fixes. 2013-04-05 23:41:59 +01:00
li_std_map_runme.rb
li_std_multimap_runme.rb
li_std_pair_lang_object_runme.rb
li_std_pair_runme.rb
li_std_queue_runme.rb
li_std_set_runme.rb
li_std_speed2_runme.rb
li_std_stack_runme.rb
li_std_stream_runme.rb
li_std_string_runme.rb
li_std_vector_enum_runme.rb
li_std_vector_runme.rb
Makefile.in
member_pointer_runme.rb
minherit_runme.rb
namespace_typemap_runme.rb
newobject1_runme.rb
newobject2_runme.rb
overload_copy_runme.rb
overload_extend_runme.rb
overload_extendc_runme.rb
overload_simple_runme.rb
overload_subtype_runme.rb
overload_template_runme.rb
primitive_ref_runme.rb
primitive_types_runme.rb
profiletest_runme.rb
README
refcount_runme.rb
reference_global_vars_runme.rb
rename_scope_runme.rb
ruby_keywords_runme.rb
ruby_li_std_speed_runme.rb
ruby_naming_runme.rb
ruby_track_objects_directors_runme.rb
ruby_track_objects_runme.rb
smart_pointer_const_runme.rb
smart_pointer_multi_runme.rb
smart_pointer_multi_typedef_runme.rb
smart_pointer_not_runme.rb
smart_pointer_overload_runme.rb
smart_pointer_rename_runme.rb
smart_pointer_simple_runme.rb
smart_pointer_typedef_runme.rb
sneaky1_runme.rb
static_const_member_2_runme.rb
std_containers_runme.rb
stl_new_runme.rb
struct_value_runme.rb
swig_assert.rb
swig_gc.rb
template_construct_runme.rb
template_extend1_runme.rb
template_extend2_runme.rb
template_inherit_runme.rb
template_ns4_runme.rb
template_ns_runme.rb
template_rename_runme.rb
template_tbase_template_runme.rb
template_type_namespace_runme.rb
template_typedef_cplx2_runme.rb
template_typedef_cplx3_runme.rb
template_typedef_cplx4_runme.rb
template_typedef_cplx_runme.rb
throw_exception_runme.rb
typedef_inherit_runme.rb
typedef_scope_runme.rb
typemap_namespace_runme.rb
typemap_ns_using_runme.rb
typename_runme.rb
unions_runme.rb
using1_runme.rb
using2_runme.rb
using_composition_runme.rb
using_extend_runme.rb
using_inherit_runme.rb
using_private_runme.rb
using_protected_runme.rb
varargs_runme.rb
virtual_derivation_runme.rb
virtual_poly_runme.rb
voidtest_runme.rb

See ../README for common README file.

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