diff options
99 files changed, 481 insertions, 14 deletions
diff --git a/Examples/octave/callback/runme.m b/Examples/octave/callback/runme.m index 103985358..a9f2d98ed 100644 --- a/Examples/octave/callback/runme.m +++ b/Examples/octave/callback/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif # This file illustrates the cross language polymorphism using directors. diff --git a/Examples/octave/class/runme.m b/Examples/octave/class/runme.m index 04221b4bb..62b2db0ee 100644 --- a/Examples/octave/class/runme.m +++ b/Examples/octave/class/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif # This file illustrates the proxy class C++ interface generated # by SWIG. diff --git a/Examples/octave/constants/runme.m b/Examples/octave/constants/runme.m index c6ed24535..535280b6e 100644 --- a/Examples/octave/constants/runme.m +++ b/Examples/octave/constants/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif swigexample diff --git a/Examples/octave/contract/runme.m b/Examples/octave/contract/runme.m index fa36bbe10..f388e6105 100644 --- a/Examples/octave/contract/runme.m +++ b/Examples/octave/contract/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif swigexample diff --git a/Examples/octave/enum/runme.m b/Examples/octave/enum/runme.m index 0108135b2..f0c410103 100644 --- a/Examples/octave/enum/runme.m +++ b/Examples/octave/enum/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif swigexample diff --git a/Examples/octave/extend/runme.m b/Examples/octave/extend/runme.m index 4536f2761..bc73184a8 100644 --- a/Examples/octave/extend/runme.m +++ b/Examples/octave/extend/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif # This file illustrates the cross language polymorphism using directors. diff --git a/Examples/octave/funcptr/runme.m b/Examples/octave/funcptr/runme.m index 4e2e28fbc..670a0994b 100644 --- a/Examples/octave/funcptr/runme.m +++ b/Examples/octave/funcptr/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif swigexample diff --git a/Examples/octave/funcptr2/runme.m b/Examples/octave/funcptr2/runme.m index 574635ed2..3977b5b3c 100644 --- a/Examples/octave/funcptr2/runme.m +++ b/Examples/octave/funcptr2/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif swigexample diff --git a/Examples/octave/functor/runme.m b/Examples/octave/functor/runme.m index 8b41691c3..f5ab56d55 100644 --- a/Examples/octave/functor/runme.m +++ b/Examples/octave/functor/runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + # Operator overloading example swigexample diff --git a/Examples/octave/module_load/runme.m b/Examples/octave/module_load/runme.m index 30b7badb2..0e327efcd 100644 --- a/Examples/octave/module_load/runme.m +++ b/Examples/octave/module_load/runme.m @@ -1,4 +1,7 @@ -# file: runme_args.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif # load module clear all; diff --git a/Examples/octave/operator/runme.m b/Examples/octave/operator/runme.m index 83197b410..e17494a84 100644 --- a/Examples/octave/operator/runme.m +++ b/Examples/octave/operator/runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + # Operator overloading example swigexample diff --git a/Examples/octave/pointer/runme.m b/Examples/octave/pointer/runme.m index a76de67de..1673915fe 100644 --- a/Examples/octave/pointer/runme.m +++ b/Examples/octave/pointer/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif swigexample; diff --git a/Examples/octave/reference/runme.m b/Examples/octave/reference/runme.m index 630ee0cd2..3f66d83d0 100644 --- a/Examples/octave/reference/runme.m +++ b/Examples/octave/reference/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif # This file illustrates the manipulation of C++ references in Octave diff --git a/Examples/octave/simple/runme.m b/Examples/octave/simple/runme.m index 6345df0cf..35365197c 100644 --- a/Examples/octave/simple/runme.m +++ b/Examples/octave/simple/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif swigexample diff --git a/Examples/octave/template/runme.m b/Examples/octave/template/runme.m index b0abbf22f..b7261b772 100644 --- a/Examples/octave/template/runme.m +++ b/Examples/octave/template/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif swigexample diff --git a/Examples/octave/variables/runme.m b/Examples/octave/variables/runme.m index c6788398b..71ac72f29 100644 --- a/Examples/octave/variables/runme.m +++ b/Examples/octave/variables/runme.m @@ -1,4 +1,7 @@ -# file: runme.m +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif swigexample diff --git a/Examples/test-suite/octave/abstract_typedef2_runme.m b/Examples/test-suite/octave/abstract_typedef2_runme.m index 7f364db4e..e2b41fed9 100644 --- a/Examples/test-suite/octave/abstract_typedef2_runme.m +++ b/Examples/test-suite/octave/abstract_typedef2_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + abstract_typedef2 a = A_UF(); diff --git a/Examples/test-suite/octave/abstract_typedef_runme.m b/Examples/test-suite/octave/abstract_typedef_runme.m index f28cf3c8b..e57f71504 100644 --- a/Examples/test-suite/octave/abstract_typedef_runme.m +++ b/Examples/test-suite/octave/abstract_typedef_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + abstract_typedef e = Engine(); diff --git a/Examples/test-suite/octave/abstract_virtual_runme.m b/Examples/test-suite/octave/abstract_virtual_runme.m index 9845a5885..d99ca1c74 100644 --- a/Examples/test-suite/octave/abstract_virtual_runme.m +++ b/Examples/test-suite/octave/abstract_virtual_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + abstract_virtual diff --git a/Examples/test-suite/octave/arrays_global_runme.m b/Examples/test-suite/octave/arrays_global_runme.m index 619d381b0..b4f23469f 100644 --- a/Examples/test-suite/octave/arrays_global_runme.m +++ b/Examples/test-suite/octave/arrays_global_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + arrays_global arrays_global.cvar.array_i = arrays_global.cvar.array_const_i; diff --git a/Examples/test-suite/octave/class_ignore_runme.m b/Examples/test-suite/octave/class_ignore_runme.m index 76bbcd3f0..3e52047c2 100644 --- a/Examples/test-suite/octave/class_ignore_runme.m +++ b/Examples/test-suite/octave/class_ignore_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + class_ignore a = class_ignore.Bar(); diff --git a/Examples/test-suite/octave/complextest_runme.m b/Examples/test-suite/octave/complextest_runme.m index cd0f9f4e2..6a5433f1f 100644 --- a/Examples/test-suite/octave/complextest_runme.m +++ b/Examples/test-suite/octave/complextest_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + complextest a = complex(-1,2); diff --git a/Examples/test-suite/octave/constover_runme.m b/Examples/test-suite/octave/constover_runme.m index febcdae69..47fdb6f98 100644 --- a/Examples/test-suite/octave/constover_runme.m +++ b/Examples/test-suite/octave/constover_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + constover p = constover.test("test"); diff --git a/Examples/test-suite/octave/constructor_copy_runme.m b/Examples/test-suite/octave/constructor_copy_runme.m index 5d52ab525..e450214c6 100644 --- a/Examples/test-suite/octave/constructor_copy_runme.m +++ b/Examples/test-suite/octave/constructor_copy_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + constructor_copy f1 = Foo1(3); diff --git a/Examples/test-suite/octave/default_args_runme.m b/Examples/test-suite/octave/default_args_runme.m index f8a656003..3d00f63e0 100644 --- a/Examples/test-suite/octave/default_args_runme.m +++ b/Examples/test-suite/octave/default_args_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + default_args diff --git a/Examples/test-suite/octave/default_constructor_runme.m b/Examples/test-suite/octave/default_constructor_runme.m index ebe553b20..b0feaf561 100644 --- a/Examples/test-suite/octave/default_constructor_runme.m +++ b/Examples/test-suite/octave/default_constructor_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + default_constructor dc = default_constructor; diff --git a/Examples/test-suite/octave/director_abstract_runme.m b/Examples/test-suite/octave/director_abstract_runme.m index 00fb676f5..657e2e1d9 100644 --- a/Examples/test-suite/octave/director_abstract_runme.m +++ b/Examples/test-suite/octave/director_abstract_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + director_abstract MyFoo=@() subclass(director_abstract.Foo(),@ping); diff --git a/Examples/test-suite/octave/director_classic_runme.m b/Examples/test-suite/octave/director_classic_runme.m index c1f8e95d4..167c8eae9 100644 --- a/Examples/test-suite/octave/director_classic_runme.m +++ b/Examples/test-suite/octave/director_classic_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + director_classic TargetLangPerson=@() subclass(Person(),'id',@(self) "TargetLangPerson"); diff --git a/Examples/test-suite/octave/director_extend_runme.m b/Examples/test-suite/octave/director_extend_runme.m index 1cbeac8e2..3b23e566d 100644 --- a/Examples/test-suite/octave/director_extend_runme.m +++ b/Examples/test-suite/octave/director_extend_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + director_extend MyObject=@() subclass(SpObject(),'getFoo',@(self) 123); diff --git a/Examples/test-suite/octave/director_stl_runme.m b/Examples/test-suite/octave/director_stl_runme.m index e8f4c5e34..23990c2a2 100644 --- a/Examples/test-suite/octave/director_stl_runme.m +++ b/Examples/test-suite/octave/director_stl_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + director_stl MyFoo=@() subclass(director_stl.Foo(),\ diff --git a/Examples/test-suite/octave/director_string_runme.m b/Examples/test-suite/octave/director_string_runme.m index c2d4e9ce7..a078c26d7 100644 --- a/Examples/test-suite/octave/director_string_runme.m +++ b/Examples/test-suite/octave/director_string_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + director_string diff --git a/Examples/test-suite/octave/director_wstring_runme.m b/Examples/test-suite/octave/director_wstring_runme.m index b59ff6efa..99b8e992a 100644 --- a/Examples/test-suite/octave/director_wstring_runme.m +++ b/Examples/test-suite/octave/director_wstring_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + director_wstring diff --git a/Examples/test-suite/octave/dynamic_cast_runme.m b/Examples/test-suite/octave/dynamic_cast_runme.m index dad0ba25c..b53120bb5 100644 --- a/Examples/test-suite/octave/dynamic_cast_runme.m +++ b/Examples/test-suite/octave/dynamic_cast_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + dynamic_cast f = dynamic_cast.Foo(); diff --git a/Examples/test-suite/octave/empty_c_runme.m b/Examples/test-suite/octave/empty_c_runme.m index 81264deb1..9ff6572da 100644 --- a/Examples/test-suite/octave/empty_c_runme.m +++ b/Examples/test-suite/octave/empty_c_runme.m @@ -1,2 +1,7 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + empty_c diff --git a/Examples/test-suite/octave/empty_runme.m b/Examples/test-suite/octave/empty_runme.m index e7b64f1cd..10f72a2d2 100644 --- a/Examples/test-suite/octave/empty_runme.m +++ b/Examples/test-suite/octave/empty_runme.m @@ -1,2 +1,7 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + empty diff --git a/Examples/test-suite/octave/enum_template_runme.m b/Examples/test-suite/octave/enum_template_runme.m index ca10f1f37..a9f940a9f 100644 --- a/Examples/test-suite/octave/enum_template_runme.m +++ b/Examples/test-suite/octave/enum_template_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + enum_template if (enum_template.MakeETest() != 1) diff --git a/Examples/test-suite/octave/exception_order_runme.m b/Examples/test-suite/octave/exception_order_runme.m index 5ef85f46c..b352d5268 100644 --- a/Examples/test-suite/octave/exception_order_runme.m +++ b/Examples/test-suite/octave/exception_order_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + exception_order function check_lasterror(expected) diff --git a/Examples/test-suite/octave/extend_template_ns_runme.m b/Examples/test-suite/octave/extend_template_ns_runme.m index 401ea6327..e79a00dda 100644 --- a/Examples/test-suite/octave/extend_template_ns_runme.m +++ b/Examples/test-suite/octave/extend_template_ns_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + extend_template_ns f = Foo_One(); diff --git a/Examples/test-suite/octave/friends_runme.m b/Examples/test-suite/octave/friends_runme.m index e18f47a24..31211567f 100644 --- a/Examples/test-suite/octave/friends_runme.m +++ b/Examples/test-suite/octave/friends_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + friends a = friends.A(2); diff --git a/Examples/test-suite/octave/global_ns_arg_runme.m b/Examples/test-suite/octave/global_ns_arg_runme.m index b8f7cfa31..bd90b6409 100644 --- a/Examples/test-suite/octave/global_ns_arg_runme.m +++ b/Examples/test-suite/octave/global_ns_arg_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + global_ns_arg a = foo(1); diff --git a/Examples/test-suite/octave/grouping_runme.m b/Examples/test-suite/octave/grouping_runme.m index 26b896c2b..6d1a2d673 100644 --- a/Examples/test-suite/octave/grouping_runme.m +++ b/Examples/test-suite/octave/grouping_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + grouping x = grouping.test1(42); diff --git a/Examples/test-suite/octave/input_runme.m b/Examples/test-suite/octave/input_runme.m index 757862179..1a92d032b 100644 --- a/Examples/test-suite/octave/input_runme.m +++ b/Examples/test-suite/octave/input_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + input f = Foo(); diff --git a/Examples/test-suite/octave/li_attribute_runme.m b/Examples/test-suite/octave/li_attribute_runme.m index 548e733ed..ed051d9df 100644 --- a/Examples/test-suite/octave/li_attribute_runme.m +++ b/Examples/test-suite/octave/li_attribute_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_attribute aa = li_attribute.A(1,2,3); diff --git a/Examples/test-suite/octave/li_boost_shared_ptr_runme.m b/Examples/test-suite/octave/li_boost_shared_ptr_runme.m index 1da0a5725..b6d545564 100644 --- a/Examples/test-suite/octave/li_boost_shared_ptr_runme.m +++ b/Examples/test-suite/octave/li_boost_shared_ptr_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + 1; li_boost_shared_ptr; diff --git a/Examples/test-suite/octave/li_carrays_cpp_runme.m b/Examples/test-suite/octave/li_carrays_cpp_runme.m index d5b92139e..b3b520920 100644 --- a/Examples/test-suite/octave/li_carrays_cpp_runme.m +++ b/Examples/test-suite/octave/li_carrays_cpp_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_carrays_cpp d = doubleArray(10); diff --git a/Examples/test-suite/octave/li_carrays_runme.m b/Examples/test-suite/octave/li_carrays_runme.m index 8ec7e5911..c6b5f1619 100644 --- a/Examples/test-suite/octave/li_carrays_runme.m +++ b/Examples/test-suite/octave/li_carrays_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_carrays d = doubleArray(10); diff --git a/Examples/test-suite/octave/li_cmalloc_runme.m b/Examples/test-suite/octave/li_cmalloc_runme.m index 45faf7381..92bcd9515 100644 --- a/Examples/test-suite/octave/li_cmalloc_runme.m +++ b/Examples/test-suite/octave/li_cmalloc_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_cmalloc p = malloc_int(); diff --git a/Examples/test-suite/octave/li_cpointer_runme.m b/Examples/test-suite/octave/li_cpointer_runme.m index bf660a647..ce055cddd 100644 --- a/Examples/test-suite/octave/li_cpointer_runme.m +++ b/Examples/test-suite/octave/li_cpointer_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_cpointer diff --git a/Examples/test-suite/octave/li_cstring_runme.m b/Examples/test-suite/octave/li_cstring_runme.m index 0d2bdb73d..8aea6b709 100644 --- a/Examples/test-suite/octave/li_cstring_runme.m +++ b/Examples/test-suite/octave/li_cstring_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_cstring diff --git a/Examples/test-suite/octave/li_cwstring_runme.m b/Examples/test-suite/octave/li_cwstring_runme.m index 4cfef7fb5..1fb0962e7 100644 --- a/Examples/test-suite/octave/li_cwstring_runme.m +++ b/Examples/test-suite/octave/li_cwstring_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_cwstring if (count("ab\0ab\0ab\0", 0) != 3) diff --git a/Examples/test-suite/octave/li_factory_runme.m b/Examples/test-suite/octave/li_factory_runme.m index d87920da6..5ea9b779f 100644 --- a/Examples/test-suite/octave/li_factory_runme.m +++ b/Examples/test-suite/octave/li_factory_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_factory circle = Geometry_create(Geometry.CIRCLE); diff --git a/Examples/test-suite/octave/li_implicit_runme.m b/Examples/test-suite/octave/li_implicit_runme.m index 2ca8b59bf..dd4393a28 100644 --- a/Examples/test-suite/octave/li_implicit_runme.m +++ b/Examples/test-suite/octave/li_implicit_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_implicit b = B(); ai = A(1); diff --git a/Examples/test-suite/octave/li_std_pair_extra_runme.m b/Examples/test-suite/octave/li_std_pair_extra_runme.m index 0f9e9a23d..473b5e46d 100644 --- a/Examples/test-suite/octave/li_std_pair_extra_runme.m +++ b/Examples/test-suite/octave/li_std_pair_extra_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_std_pair_extra p = {1,2}; diff --git a/Examples/test-suite/octave/li_std_vector_enum_runme.m b/Examples/test-suite/octave/li_std_vector_enum_runme.m index 471e7bf39..0de77044d 100644 --- a/Examples/test-suite/octave/li_std_vector_enum_runme.m +++ b/Examples/test-suite/octave/li_std_vector_enum_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_std_vector_enum function check(a, b) diff --git a/Examples/test-suite/octave/li_std_wstring_runme.m b/Examples/test-suite/octave/li_std_wstring_runme.m index e46c1f219..cbccc0c12 100644 --- a/Examples/test-suite/octave/li_std_wstring_runme.m +++ b/Examples/test-suite/octave/li_std_wstring_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + li_std_wstring x="h"; diff --git a/Examples/test-suite/octave/minherit_runme.m b/Examples/test-suite/octave/minherit_runme.m index 24d2091be..025db8ad2 100644 --- a/Examples/test-suite/octave/minherit_runme.m +++ b/Examples/test-suite/octave/minherit_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + minherit a = minherit.Foo(); diff --git a/Examples/test-suite/octave/mod_runme.m b/Examples/test-suite/octave/mod_runme.m index faebf70e3..6120eee4f 100644 --- a/Examples/test-suite/octave/mod_runme.m +++ b/Examples/test-suite/octave/mod_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + mod_a mod_b diff --git a/Examples/test-suite/octave/multi_import_runme.m b/Examples/test-suite/octave/multi_import_runme.m index 08149aae4..2b7a610d4 100644 --- a/Examples/test-suite/octave/multi_import_runme.m +++ b/Examples/test-suite/octave/multi_import_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + multi_import_a; multi_import_b; diff --git a/Examples/test-suite/octave/naturalvar_runme.m b/Examples/test-suite/octave/naturalvar_runme.m index 889563f35..6059b0273 100644 --- a/Examples/test-suite/octave/naturalvar_runme.m +++ b/Examples/test-suite/octave/naturalvar_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + naturalvar f = Foo(); diff --git a/Examples/test-suite/octave/null_pointer_runme.m b/Examples/test-suite/octave/null_pointer_runme.m index 51b6eaf91..9d55d8be2 100644 --- a/Examples/test-suite/octave/null_pointer_runme.m +++ b/Examples/test-suite/octave/null_pointer_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + null_pointer; assert(func([])); diff --git a/Examples/test-suite/octave/octave_cell_deref_runme.m b/Examples/test-suite/octave/octave_cell_deref_runme.m index 5a98c0a3b..d00d17282 100644 --- a/Examples/test-suite/octave/octave_cell_deref_runme.m +++ b/Examples/test-suite/octave/octave_cell_deref_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + octave_cell_deref; assert(func("hello")); diff --git a/Examples/test-suite/octave/overload_complicated_runme.m b/Examples/test-suite/octave/overload_complicated_runme.m index 0313be954..879bdc890 100644 --- a/Examples/test-suite/octave/overload_complicated_runme.m +++ b/Examples/test-suite/octave/overload_complicated_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + overload_complicated pInt = None; diff --git a/Examples/test-suite/octave/overload_extend_c_runme.m b/Examples/test-suite/octave/overload_extend_c_runme.m index aa6bb5b5b..79b92ca47 100644 --- a/Examples/test-suite/octave/overload_extend_c_runme.m +++ b/Examples/test-suite/octave/overload_extend_c_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + overload_extend_c f = overload_extend_c.Foo(); diff --git a/Examples/test-suite/octave/overload_extend_runme.m b/Examples/test-suite/octave/overload_extend_runme.m index 42c79388f..d9959804f 100644 --- a/Examples/test-suite/octave/overload_extend_runme.m +++ b/Examples/test-suite/octave/overload_extend_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + overload_extend f = overload_extend.Foo(); diff --git a/Examples/test-suite/octave/overload_simple_cast_runme.m b/Examples/test-suite/octave/overload_simple_cast_runme.m index 65bc4229a..218351082 100644 --- a/Examples/test-suite/octave/overload_simple_cast_runme.m +++ b/Examples/test-suite/octave/overload_simple_cast_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + overload_simple_cast Ai=@(x) subclass('x',x,'__int',@(self) self.x); diff --git a/Examples/test-suite/octave/overload_subtype_runme.m b/Examples/test-suite/octave/overload_subtype_runme.m index b34be9734..d1b209139 100644 --- a/Examples/test-suite/octave/overload_subtype_runme.m +++ b/Examples/test-suite/octave/overload_subtype_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + overload_subtype f = Foo(); diff --git a/Examples/test-suite/octave/preproc_runme.m b/Examples/test-suite/octave/preproc_runme.m index 791b38bf4..e9af66e78 100644 --- a/Examples/test-suite/octave/preproc_runme.m +++ b/Examples/test-suite/octave/preproc_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + preproc if (preproc.cvar.endif != 1) diff --git a/Examples/test-suite/octave/refcount_runme.m b/Examples/test-suite/octave/refcount_runme.m index 3ce5bcda2..9fc01e293 100644 --- a/Examples/test-suite/octave/refcount_runme.m +++ b/Examples/test-suite/octave/refcount_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + refcount # # very innocent example diff --git a/Examples/test-suite/octave/ret_by_value_runme.m b/Examples/test-suite/octave/ret_by_value_runme.m index d17c9f233..67f80aae2 100644 --- a/Examples/test-suite/octave/ret_by_value_runme.m +++ b/Examples/test-suite/octave/ret_by_value_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + ret_by_value a = ret_by_value.get_test(); diff --git a/Examples/test-suite/octave/smart_pointer_extend_runme.m b/Examples/test-suite/octave/smart_pointer_extend_runme.m index c30cd9ff8..6c9258e6d 100644 --- a/Examples/test-suite/octave/smart_pointer_extend_runme.m +++ b/Examples/test-suite/octave/smart_pointer_extend_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + smart_pointer_extend f = Foo(); diff --git a/Examples/test-suite/octave/smart_pointer_overload_runme.m b/Examples/test-suite/octave/smart_pointer_overload_runme.m index 214437d66..a5df0ded4 100644 --- a/Examples/test-suite/octave/smart_pointer_overload_runme.m +++ b/Examples/test-suite/octave/smart_pointer_overload_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + smart_pointer_overload f = Foo(); diff --git a/Examples/test-suite/octave/smart_pointer_rename_runme.m b/Examples/test-suite/octave/smart_pointer_rename_runme.m index 260ee3e4c..5eb6d4c3c 100644 --- a/Examples/test-suite/octave/smart_pointer_rename_runme.m +++ b/Examples/test-suite/octave/smart_pointer_rename_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + smart_pointer_rename f = Foo(); diff --git a/Examples/test-suite/octave/smart_pointer_simple_runme.m b/Examples/test-suite/octave/smart_pointer_simple_runme.m index 26f32e04f..30b1387c4 100644 --- a/Examples/test-suite/octave/smart_pointer_simple_runme.m +++ b/Examples/test-suite/octave/smart_pointer_simple_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + smart_pointer_simple f = Foo(); diff --git a/Examples/test-suite/octave/smart_pointer_typedef_runme.m b/Examples/test-suite/octave/smart_pointer_typedef_runme.m index 8fa6ca26a..0e1c8a61e 100644 --- a/Examples/test-suite/octave/smart_pointer_typedef_runme.m +++ b/Examples/test-suite/octave/smart_pointer_typedef_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + smart_pointer_typedef f = Foo(); diff --git a/Examples/test-suite/octave/sneaky1_runme.m b/Examples/test-suite/octave/sneaky1_runme.m index e044370ea..dfbbf821b 100644 --- a/Examples/test-suite/octave/sneaky1_runme.m +++ b/Examples/test-suite/octave/sneaky1_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + sneaky1 x = sneaky1.add(3,4); y = sneaky1.subtract(3,4); diff --git a/Examples/test-suite/octave/static_const_member_2_runme.m b/Examples/test-suite/octave/static_const_member_2_runme.m index b242bfcd1..73260bae7 100644 --- a/Examples/test-suite/octave/static_const_member_2_runme.m +++ b/Examples/test-suite/octave/static_const_member_2_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + static_const_member_2 c = Test_int(); diff --git a/Examples/test-suite/octave/std_containers_runme.m b/Examples/test-suite/octave/std_containers_runme.m index 074f0fd58..eae3d5d9f 100644 --- a/Examples/test-suite/octave/std_containers_runme.m +++ b/Examples/test-suite/octave/std_containers_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + std_containers diff --git a/Examples/test-suite/octave/struct_value_runme.m b/Examples/test-suite/octave/struct_value_runme.m index 7340a36ec..ff344047e 100644 --- a/Examples/test-suite/octave/struct_value_runme.m +++ b/Examples/test-suite/octave/struct_value_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + struct_value b = struct_value.Bar(); diff --git a/Examples/test-suite/octave/swigobject_runme.m b/Examples/test-suite/octave/swigobject_runme.m index 614e2a44a..73167e497 100644 --- a/Examples/test-suite/octave/swigobject_runme.m +++ b/Examples/test-suite/octave/swigobject_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + swigobject a = A(); diff --git a/Examples/test-suite/octave/template_default_arg_runme.m b/Examples/test-suite/octave/template_default_arg_runme.m index e50066248..b2022167c 100644 --- a/Examples/test-suite/octave/template_default_arg_runme.m +++ b/Examples/test-suite/octave/template_default_arg_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_default_arg diff --git a/Examples/test-suite/octave/template_extend1_runme.m b/Examples/test-suite/octave/template_extend1_runme.m index e672da783..5035debf5 100644 --- a/Examples/test-suite/octave/template_extend1_runme.m +++ b/Examples/test-suite/octave/template_extend1_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_extend1 a = template_extend1.lBaz(); diff --git a/Examples/test-suite/octave/template_extend2_runme.m b/Examples/test-suite/octave/template_extend2_runme.m index 93c44d7de..24472a9ed 100644 --- a/Examples/test-suite/octave/template_extend2_runme.m +++ b/Examples/test-suite/octave/template_extend2_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_extend2 a = template_extend2.lBaz(); diff --git a/Examples/test-suite/octave/template_inherit_runme.m b/Examples/test-suite/octave/template_inherit_runme.m index ce7931e1c..368cce227 100644 --- a/Examples/test-suite/octave/template_inherit_runme.m +++ b/Examples/test-suite/octave/template_inherit_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_inherit a = FooInt(); b = FooDouble(); diff --git a/Examples/test-suite/octave/template_matrix_runme.m b/Examples/test-suite/octave/template_matrix_runme.m index b8fb3d3dc..96e7bd929 100644 --- a/Examples/test-suite/octave/template_matrix_runme.m +++ b/Examples/test-suite/octave/template_matrix_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_matrix passVector([1,2,3]); passMatrix({[1,2],[1,2,3]}); diff --git a/Examples/test-suite/octave/template_ns4_runme.m b/Examples/test-suite/octave/template_ns4_runme.m index 58ced7ca4..b5746427b 100644 --- a/Examples/test-suite/octave/template_ns4_runme.m +++ b/Examples/test-suite/octave/template_ns4_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_ns4 d = make_Class_DD(); diff --git a/Examples/test-suite/octave/template_opaque_runme.m b/Examples/test-suite/octave/template_opaque_runme.m index 1c123b334..4e8511ed4 100644 --- a/Examples/test-suite/octave/template_opaque_runme.m +++ b/Examples/test-suite/octave/template_opaque_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_opaque v = template_opaque.OpaqueVectorType(10); diff --git a/Examples/test-suite/octave/template_ref_type_runme.m b/Examples/test-suite/octave/template_ref_type_runme.m index ef77e06d9..9135fb03d 100644 --- a/Examples/test-suite/octave/template_ref_type_runme.m +++ b/Examples/test-suite/octave/template_ref_type_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_ref_type xr = template_ref_type.XC(); diff --git a/Examples/test-suite/octave/template_static_runme.m b/Examples/test-suite/octave/template_static_runme.m index c54139ae5..8d22feda5 100644 --- a/Examples/test-suite/octave/template_static_runme.m +++ b/Examples/test-suite/octave/template_static_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_static Foo_bar_double(1); diff --git a/Examples/test-suite/octave/template_typedef_cplx4_runme.m b/Examples/test-suite/octave/template_typedef_cplx4_runme.m index 4db276de4..e0c9a3277 100644 --- a/Examples/test-suite/octave/template_typedef_cplx4_runme.m +++ b/Examples/test-suite/octave/template_typedef_cplx4_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_typedef_cplx4 # diff --git a/Examples/test-suite/octave/template_typedef_import_runme.m b/Examples/test-suite/octave/template_typedef_import_runme.m index 0574ab1fc..0b3f215a8 100644 --- a/Examples/test-suite/octave/template_typedef_import_runme.m +++ b/Examples/test-suite/octave/template_typedef_import_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + template_typedef_cplx2 template_typedef_import diff --git a/Examples/test-suite/octave/typedef_class_runme.m b/Examples/test-suite/octave/typedef_class_runme.m index 97d2aed6a..55878a299 100644 --- a/Examples/test-suite/octave/typedef_class_runme.m +++ b/Examples/test-suite/octave/typedef_class_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + typedef_class a = typedef_class.RealA(); diff --git a/Examples/test-suite/octave/typedef_inherit_runme.m b/Examples/test-suite/octave/typedef_inherit_runme.m index 6c4c47a43..fbe5436d1 100644 --- a/Examples/test-suite/octave/typedef_inherit_runme.m +++ b/Examples/test-suite/octave/typedef_inherit_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + typedef_inherit a = typedef_inherit.Foo(); diff --git a/Examples/test-suite/octave/typename_runme.m b/Examples/test-suite/octave/typename_runme.m index c47f817a7..305cd4113 100644 --- a/Examples/test-suite/octave/typename_runme.m +++ b/Examples/test-suite/octave/typename_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + typename f = typename.Foo(); b = typename.Bar(); diff --git a/Examples/test-suite/octave/using1_runme.m b/Examples/test-suite/octave/using1_runme.m index 0c37daf7f..9253a1d35 100644 --- a/Examples/test-suite/octave/using1_runme.m +++ b/Examples/test-suite/octave/using1_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + using1 if (using1.spam(37) != 37) diff --git a/Examples/test-suite/octave/using2_runme.m b/Examples/test-suite/octave/using2_runme.m index 205c6d7ad..7cc668940 100644 --- a/Examples/test-suite/octave/using2_runme.m +++ b/Examples/test-suite/octave/using2_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + using2 if (using2.spam(37) != 37) diff --git a/Examples/test-suite/octave/using_composition_runme.m b/Examples/test-suite/octave/using_composition_runme.m index 9b58d6d54..63192ad77 100644 --- a/Examples/test-suite/octave/using_composition_runme.m +++ b/Examples/test-suite/octave/using_composition_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + using_composition f = FooBar(); diff --git a/Examples/test-suite/octave/using_extend_runme.m b/Examples/test-suite/octave/using_extend_runme.m index b9c13fa68..9b8f402d7 100644 --- a/Examples/test-suite/octave/using_extend_runme.m +++ b/Examples/test-suite/octave/using_extend_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + using_extend f = FooBar(); diff --git a/Examples/test-suite/octave/using_protected_runme.m b/Examples/test-suite/octave/using_protected_runme.m index ed4b1c32b..b5138c129 100644 --- a/Examples/test-suite/octave/using_protected_runme.m +++ b/Examples/test-suite/octave/using_protected_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + using_protected f = FooBar(); diff --git a/Examples/test-suite/octave/voidtest_runme.m b/Examples/test-suite/octave/voidtest_runme.m index e62f8a57f..fb411ee4e 100644 --- a/Examples/test-suite/octave/voidtest_runme.m +++ b/Examples/test-suite/octave/voidtest_runme.m @@ -1,3 +1,8 @@ +# do not dump Octave core +if exist("crash_dumps_octave_core", "builtin") + crash_dumps_octave_core(0); +endif + voidtest voidtest.globalfunc(); |