Simon Marchetto
65621c988b
scilab: replace test scilab_typemaps by generic test primitive_types
2014-01-31 18:04:21 +01:00
Simon Marchetto
0fdbd6b7a4
scilab: new test for size_t type
2014-01-31 18:04:20 +01:00
Simon Marchetto
a6f824a9a8
scilab: roll back on primitive typemaps: return Scilab double on signed integers
2014-01-30 11:00:47 +01:00
Simon Marchetto
4cf15d9c1e
Scilab: fix scilab primitve typemaps
2013-09-26 16:54:55 +02:00
Simon Marchetto
78738b23b8
Scilab: display test error line number
2013-09-26 16:14:33 +02:00
Simon Marchetto
5c7092e2cc
Scilab: fix test-suite clean
2013-09-24 12:37:11 +02:00
Simon Marchetto
ca2ee4ff98
Scilab: test dir has extension .dir now
2013-09-23 18:00:03 +02:00
Simon Marchetto
8e2423ac87
Scilab: simply makefiles & base on java for test-suite
2013-09-23 17:59:44 +02:00
Simon Marchetto
c4114b2c5f
Scilab: redirect test case error to std-err
2013-09-23 14:19:21 +02:00
Simon Marchetto
3c8527d92f
Scilab: disable Scilab warnings in test suite
2013-09-23 13:49:27 +02:00
Simon Marchetto
3ebd3da30e
Scilab: if -Wextra, warning at generation for too long identifier names
2013-09-23 13:48:50 +02:00
Simon Marchetto
77da84f549
Scilab: init function name SWIG_Init() changed to <module>_Init()
2013-09-18 10:24:47 +02:00
William S Fulton
5109e1fe12
Remove scilab and allegro specifics in 3 testcases
2013-09-17 21:10:15 +01:00
William S Fulton
14879510fa
scilab_typemaps testcase was not being tested
2013-09-17 20:57:42 +01:00
William S Fulton
809092b3e7
Restore testing of ignore_template_constructor under Scilab
2013-09-17 20:40:50 +01:00
William S Fulton
322199354f
Fix lost code in constructor_copy testcase
2013-09-17 20:34:43 +01:00
William S Fulton
16c7ef3142
Fix lost code in branch merge
2013-09-17 20:31:21 +01:00
William S Fulton
f994bc481d
Better workaround for Scilab name problem with 'Error'
2013-09-17 20:25:19 +01:00
Sylvestre Ledru
9c5bac9887
Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
2013-09-13 09:18:06 +02:00
Artem Serebriyskiy
c3f3880d0c
Lua static member access improvements.
...
1) Static members and static functions inside class can be accessed as ModuleName.ClassName.FunctionName (MemberName respectively). Old way aka ModuleName.ClassName_FunctionName still works.
2) Same goes for enums inside classes: ModuleName.ClassName.EnumValue1 etc.
3) More 'runme' tests for lua + modifications to existing tests to test new changes.
Code is loosely based upon python implemenation of the same thing.
Patch #62 .
2013-09-12 21:32:26 +01:00
William S Fulton
a91cd0bc5c
Infinity is now by default an acceptable value for type 'float'.
...
This fix makes the handling of type 'float' and 'double' the same. The implementation requires the
C99 isfinite() macro, or otherwise some platform dependent equivalents, to be available.
2013-09-12 07:28:12 +01:00
Simon Marchetto
7436b03a50
Python: fix li_std_set_as_argument test
2013-09-09 12:14:17 +02:00
Simon Marchetto
d91a25357b
Add li_std_vector_as_argument & li_std_set_as_argument to common tests
2013-09-09 11:25:59 +02:00
Simon Marchetto
3abb810cc1
Scilab: std_set example converted to test
2013-09-09 11:13:36 +02:00
Simon Marchetto
84f1e3d3e2
Scilab: std_vector_as_argument example converted to test
2013-09-06 18:34:57 +02:00
Simon Marchetto
1a9c86673b
Scilab: test-case calls module init + fix exit code on errors
2013-09-06 17:31:37 +02:00
Simon Marchetto
1d19663efd
Scilab: fix test suite copy file error
2013-09-06 14:46:51 +02:00
Simon Marchetto
c0cc7be2e6
Scilab: remove test verbose messages
2013-09-06 10:34:53 +02:00
Simon Marchetto
74cd6281de
Scilab: ignore test ignore_template_constructor (no support of vector<class> yet)
2013-09-06 10:20:33 +02:00
Simon Marchetto
ffc20033be
Scilab: fix test cases compilation error (header not found)
2013-09-04 17:38:36 +02:00
Simon Marchetto
b4ed5625ee
Scilab: parallelization of test-suite, remove configure cache
2013-09-04 15:25:53 +02:00
Simon Marchetto
360a565f7c
Scilab: refactor & clean make command lines
2013-09-03 14:11:45 +02:00
William S Fulton
ada7dd92e4
Fix testcase name
2013-08-29 22:49:59 +01:00
William S Fulton
f55ff50dd5
Skip the UTF-8 BOM of including files.
...
For avoiding illegal token error when parsing include files which have the UTF-8 BOM.
Closes #75 .
2013-08-29 19:22:50 +01:00
William S Fulton
b58dabced9
%implicitconv is improved for overloaded functions.
...
Like in C++, the methods with the actual types are considered before trying implicit conversions.
2013-08-28 20:30:46 +01:00
William S Fulton
1cc735df5e
%implicitconv will now accept None where the implicit conversion takes a C/C++ pointer.
...
Problem highlighted by Bo Peng on the swig-user mailing list. SF patch #230 .
2013-08-28 20:28:15 +01:00
Simon Marchetto
e1264181a0
Scilab: disable configure cache at end of test-suite
2013-08-26 15:22:58 +02:00
Simon Marchetto
2e30637a21
Scilab: fix clean config cache
2013-08-22 18:32:34 +02:00
Simon Marchetto
474bdcef91
Scilab: configure cache in test run dir
2013-08-22 16:10:59 +02:00
Simon Marchetto
908c9d1f14
Scilab: fix use of configure cache for multicpptest test-suite
2013-08-22 14:37:28 +02:00
Simon Marchetto
6201dec455
Scilab: use configure cache for test-suite
2013-08-22 10:49:48 +02:00
Simon Marchetto
67d4079e1f
Scilab: fix tests failing in 5.3.3 (conflict with Scilab function Error)
2013-08-21 11:11:41 +02:00
Simon Marchetto
7a3428d912
Scilab: fix test case clean
2013-08-07 14:14:41 +02:00
Sylvestre Ledru
21e17eaa73
Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
...
Conflicts:
Examples/Makefile.in
2013-08-06 10:06:31 +02:00
William S Fulton
80f8d1d922
Fix for missing C++ code in std::multimap wrappers.
...
%template for a std::multimap generated uncompilable code unless a
%template for a std::map of the same template types was also coded up.
This patch is needed in conjunction with previous commit - 5f1fff1849
Closes #64
Closes #65
2013-08-06 07:02:49 +01:00
Simon Marchetto
74243ae306
Scilab: fix constructor_copy test_case
...
using vector<T> needs T have default constructor
2013-07-23 14:59:01 +02:00
Karl Wette
479df82616
Octave: more robust configuration
...
- do not rely on --eval argument to find mkoctfile, instead assume it
is in the same directory as octave itself (which it always should be)
- check Octave options to make sure they are supported, including
--no-window-system to prevent warnings if building without an X server
- disable Octave if any vital tests fail
2013-07-16 20:59:50 +01:00
joequant
e8c6384f77
add regression tests for SEXP return values
2013-07-14 20:29:37 +08:00
William S Fulton
d0af4f50d3
Add %pythonbegin directive.
...
For adding code at the beginning of the generated .py file.
2013-07-05 06:30:16 +01:00
William S Fulton
1c44078751
Improve testing of %pythonprepend and %pythonappend
2013-07-02 20:00:17 +01:00