William S Fulton
ed333b6b97
std::string throws typemaps
...
Go, Guile, Racket, Scilab: Add throws typemaps for std::string so that
thrown string exception messages can be seen.
Test all language for std::string throws typemaps
2022-09-19 09:09:29 +01:00
William S Fulton
4a29229bab
Add catches_strings test to test throws char * typemap
2022-09-19 09:09:29 +01:00
Olly Betts
07f0b732ba
Add machinery for C++14, C++17 and C++20 testing
...
Support running testcases conditional on the compiler supporting
a each language version, like we already handle C++11.
Currently no testcases are actually run in this way for these
newer language versions.
2022-07-26 15:28:51 +12:00
William S Fulton
5cc4591ae7
Consistent cpp11 testing in test-suite
...
Move HAVE_CXX11 into makefiles so that running test-suite
from top level directory or in the language's test-suite directory
is consistent. For example, running 'make check-java-test-suite'
behaves the same as 'cd Examples/test-suite/java && make check'.
2022-03-27 19:34:20 +01:00
Clément DAVID
62d3bc04ff
Scilab - pass tests on 5.5.2, 6.0.2 and 6.1.0
2022-02-21 10:02:03 +01:00
Dimitris Apostolou
f586d920f7
Fix typos
2021-11-17 07:07:02 +02:00
William S Fulton
99954d6d4e
Shorten testcase variable names for Scilab 6 to work
2021-11-15 22:45:56 +00:00
William S Fulton
83ea2280e2
Fix Python compile errors with overloading and varargs
...
Fixes wrapping overloaded functions/constructors where a vararg
function is declared after a non-vararg function.
This is a long standing bug in the Python layer exposed since fastunpack
was turned on by default.
2019-02-25 19:27:23 +00:00
William S Fulton
b48339cfca
Fix overloading for non-pointers and NULL - Scilab
2018-12-30 14:22:13 +00:00
luz.paz
60dfa31a67
Misc. typos
...
found via `codespell` and `grep`
2018-05-17 10:04:23 -04:00
William S Fulton
95e8643d70
Rename func to funk in tests to avoid Go keyword problems
2017-06-16 19:24:48 +01:00
William S Fulton
5d5fd5b122
Fix scilab fragment dependency problem in STL headers
...
import_stl test now working again
2017-06-06 19:56:59 +01:00
William S Fulton
b08d6ddbad
Temporarily disable failing tests
2017-06-06 07:14:18 +01:00
Simon Marchetto
15b3c1dfa3
[Scilab] fix test scilab_pointer_conversion_function for scilab 5.3.3
2016-12-19 15:04:30 +01:00
Simon Marchetto
88b4827d87
scilab: SWIG_ptr() accepts mlist typed pointers and converts them to pointers
2016-12-15 23:57:42 +01:00
Simon Marchetto
95a5def328
scilab: fix issue #755
2016-07-29 11:52:26 +02:00
Paweł Tomulik
350d43d988
handle const pointers to functions
2016-03-24 10:59:23 +01:00
simon
88e2ce8556
scilab: fix and add overloading tests
2016-03-08 17:37:39 +01:00
simon
bd3ffed482
scilab: fix template_rename test
2016-03-08 17:37:39 +01:00
William S Fulton
ed1074829f
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: typedef_struct
2016-02-21 19:24:27 +00:00
William S Fulton
155e31626c
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
William S Fulton
0bd41dc14d
rename overload_extendc testcase
2016-02-21 18:04:04 +00:00
William S Fulton
a00b4f4463
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: li_cpointer
2016-02-21 18:04:04 +00:00
William S Fulton
9600c95234
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
William S Fulton
bc3bf51af2
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
William S Fulton
9babc26634
Update Scilab test-suite output wording
2015-08-03 08:12:38 +01:00
William S Fulton
3718b810c7
Don't generate constructor wrappers if a base class has a private constructor
...
g++-5 errors out with this now with errors such as:
default_constructor_wrap.cxx:665:27: error: use of deleted function ‘FFF::FFF()’
result = (FFF *)new FFF();
^
default_constructor_wrap.cxx:314:7: note: ‘FFF::FFF()’ is implicitly deleted because the default definition would be ill-formed:
class FFF : public F {
^
default_constructor_wrap.cxx:301:4: error: ‘F::~F()’ is private
~F() { }
^
default_constructor_wrap.cxx:314:7: error: within this context
2015-07-07 20:15:55 +01:00
Simon Marchetto
62c0dd9651
scilab: fix throw_exception test
2015-01-26 11:07:28 +01:00
Simon Marchetto
0b07622a11
fix failing unit tests with Scilab V6
2015-01-12 16:20:27 +01:00
Simon Marchetto
52a0ac0b66
scilab: test li_std_string_extra is fixed by previous commit
2014-10-23 11:21:01 +02:00
Simon Marchetto
057faf6cac
scilab: fix test-suite makefiles and util scripts for standard build tools
2014-10-20 15:14:05 +02:00
Simon Marchetto
20fc167624
scilab: support typed constants (U UL L) in scilabconst(1)
2014-10-16 16:00:51 +02:00
Simon Marchetto
7307d967d0
scilab: fix tests having too long identifier names
2014-09-29 14:52:05 +02:00
Simon Marchetto
78360b4d1b
scilab: fix allprotected test
2014-09-26 17:23:41 +02:00
Simon Marchetto
8b998cb538
scilab: truncates too long (struct, class) member names
2014-09-26 17:23:27 +02:00
Simon Marchetto
fb1b9432ec
scilab: add li_std_string_extra test
2014-09-25 16:08:36 +02:00
Simon Marchetto
3ca185197c
scilab: truncates too long identifier names (in addition to display warnings)
2014-09-25 14:29:52 +02:00
Simon Marchetto
d421884a3b
scilab: fix li_std_except test error codes
2014-09-25 09:33:53 +02:00
Simon Marchetto
b42375a257
scilab: fix tests returning wrong error code
2014-09-24 12:24:41 +02:00
Simon Marchetto
a2c2aaec80
scilab: fix test-suite (scripts were not executed)
2014-09-24 11:44:38 +02:00
William S Fulton
332c02ae2d
Scilab minor build system improvement
2014-08-26 19:52:03 +01:00
Simon Marchetto
bb4b6742eb
scilab: hide too long identifier warnings
2014-07-24 11:14:07 +02:00
Simon Marchetto
8fdb67cace
scilab: rollback INCLUDE
2014-07-03 15:03:34 +02:00
Simon Marchetto
5e7627c3f7
scilab: remove useless SCRIPTDIR
2014-07-03 11:58:47 +02:00
Simon Marchetto
d6cca41d3e
scilab: simplify Examples makefile (removing INCLUDE stuff)
2014-07-03 11:32:59 +02:00
William S Fulton
0ebe64c041
Run overload_arrays testcase in all languages not just Scilab
2014-06-26 20:30:25 +01:00
William S Fulton
8143e59d68
Revert "scilab: implement enum_var test"
...
This reverts commit fbe6c13267 .
It looks like an accidental change to me
2014-06-26 20:30:24 +01:00
Simon Marchetto
821118de9b
scilab: rename swig_this(), swig_ptr() to SWIG_this(), SWIG_ptr()
2014-06-26 09:44:49 +02:00
Simon Marchetto
9fc32cb866
scilab: fix test-suite: change to test dir before running test
2014-06-20 16:48:24 +02:00
Simon Marchetto
2aabb4527e
scilab: fix test-suite clean
2014-06-20 12:34:33 +02:00