Commit graph

3,092 commits

Author SHA1 Message Date
Simon Marchetto
67aba0bfc2 scilab: move integer error tests in integers test 2014-02-07 15:42:58 +01:00
Simon Marchetto
c47456a9bb scilab:implement li_typemaps test (library typemaps.i test) 2014-02-07 12:23:39 +01:00
Simon Marchetto
ccab675c57 scilab: check value and overflow errors in integer typemaps 2014-02-07 11:53:19 +01:00
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
6ab1ad9daa Scilab: rollback scilab include not needed 2013-10-09 15:13:36 +02:00
Simon Marchetto
03181491b4 Scilab: fix configure with-scilab-inc option 2013-10-09 12:32:11 +02: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
47868bcbfe Scilab: remove build & link verbose messages in examples 2013-09-09 12:05:57 +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
f95e581dc5 Scilab: fix check list 2013-09-09 10:23:05 +02:00
Simon Marchetto
a7181c3c93 Scilab: move std_vector to upper directory 2013-09-09 10:22:54 +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
91e4114827 Scilab: enum example is consistent with other languages 2013-09-06 15:42:31 +02:00
Simon Marchetto
06617dbd0b Scilab: constants example consistent with other languages 2013-09-06 15:33:58 +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
7a81f55ac9 Scilab: take in account TARGET in example makefile, fix target in examples sub makefiles 2013-09-04 14:53:14 +02:00
Simon Marchetto
360a565f7c Scilab: refactor & clean make command lines 2013-09-03 14:11:45 +02:00
Simon Marchetto
698e399717 Scilab: add %scilabconst in enum example 2013-09-02 11:06:01 +02:00
Simon Marchetto
ed135cb99c Scilab: wrap enums to Scilab variables (if %feature scilab:const") 2013-09-02 11:06:00 +02:00
Simon Marchetto
2cf606c638 Scilab: add %feature scilab:const (constants are wrapped by Scilab variables) 2013-09-02 10:59:48 +02:00
William S Fulton
05cc859d38 Scilab example Makefiles update.
Make consistent with other languages.
Output is also suppressed when run from top level directory - see
RUNPIPE.
2013-08-30 23:53:57 +01:00
William S Fulton
9b51d7d869 Example makefile tidy up 2013-08-30 22:14:21 +01:00
William S Fulton
2114c65201 Fix merge mess - restore changes as they are on master 2013-08-30 21:56:55 +01:00
William S Fulton
678058dbc7 Revert non-scilab changes: Octave modifications 2013-08-30 19:07:10 +01:00