William S Fulton
f994bc481d
Better workaround for Scilab name problem with 'Error'
2013-09-17 20:25:19 +01:00
Oliver Buchtala
d34a6da08c
Disable warnings for some v8 test-cases.
2013-09-17 01:53:22 +02:00
Oliver Buchtala
dd4ed7f3d6
Disable testcase 'typemap_variables' for v8.
...
It uses output typemaps that are not compatible with the
v8 API.
2013-09-16 11:46:52 +02:00
William S Fulton
0431664b18
Guile OUTPUT typemap fix
...
Fixes 'attempt to free a non-heap object' in some OUTPUT typemaps.
2013-09-15 10:43:49 +01:00
William S Fulton
f618a69990
Better detection of Ruby shared library extension
...
Use Config to detect dll extension (needs to be .so for Ruby 1.9 on Cygwin)
2013-09-14 17:32:54 -07:00
William S Fulton
cb4a23b2df
Cygwin test-suite fix for tcl 8.5 on Cygwin
2013-09-14 15:52:42 -07: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
Oliver Buchtala
c53e3e4dab
Fix configuration for nodejs based tests.
...
- use $(SWIGOPT)
- less verbose
2013-09-10 14:45:33 +03:00
Oliver Buchtala
001f38c6a9
Fix settings for building nodejs tests.
...
Removed the `-node` command line flag.
Instead one has to use `-v8 -DBUILDING_NODE_EXTENSION=1`.
2013-09-10 13:29:16 +03:00
Oliver Buchtala
e5ad9cdc05
Added two more Javascript tests.
...
- `abstract_inherit`
- `char_strings`
2013-09-09 22:26:30 +03:00
Oliver Buchtala
3c5946d998
Redefined set of Javascript smoke tests.
2013-09-09 17:38:44 +03:00
Oliver Buchtala
b6c9c97b96
Fix Javascript generator to use %renamed variable names.
2013-09-09 15:05:11 +03:00
Oliver Buchtala
108143951d
Activate Javascript test-cases rename_simple and rename_scope.
...
These reveal current deficiencies in the Javascript generator with `%rename`ing.
2013-09-09 13:55:08 +03:00
Oliver Buchtala
64da1173dd
Activate Javascript testcases rename1-4.
2013-09-09 13:23:47 +03:00
Oliver Buchtala
1438d0cfb4
Add infinity test-case to list of smoke tests.
2013-09-09 13:17:38 +03: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
Eric Wing
e01e337d75
Added unit test using C99 INFINITY. This test actually tests a float
...
conversion bug where converting to float imposed overflow checking which
should not be there and causes this program to error out. This was seen
originally in Javascript, but it turns out Python has the same bug. Lua
does not have this bug. Other generators have not been tested.
This test also tests the rename feature. The Javascript generator was
not renaming the variable correctly.
2013-09-09 12:53:37 +03: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
Oliver Buchtala
0facc7ecf9
Allow to run the test suite with our list of smoke tests.
...
The javascript generator can not deal with the whole test-suite.
Moreover, during development I want to have immediate feedback using
a set of smoke tests.
2013-09-06 15:59:43 +03: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
Oliver Buchtala
492d3010ff
Javascript V8 test-cases always create cpp wrappers.
2013-09-06 01:40:23 +03:00
Oliver Buchtala
26b5acbbe8
Test-suite Makefile now supports testing for all three Javascript variants.
...
- node.js
- custom JavascriptCore interpreter
- custom V8 interpreter
2013-09-06 00:42:56 +03:00
Oliver Buchtala
8b0ee5491a
Added missing template configuration files for nodejs based tests.
2013-09-04 18:04:40 +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
Oliver Buchtala
fec11a8def
Allow exceptions in generated example/test node extensions.
2013-09-04 13:07:07 +02:00
Oliver Buchtala
54dd7e96c0
Fix cleanup configuration for javascript test-suite.
2013-09-04 12:47:24 +02:00
Oliver Buchtala
8778146b4b
Relax type check in SWIG_AsVal_int.
...
The array_member test-case revealed that integers
come in as `Numbers`.
2013-09-04 12:10:08 +02:00
Oliver Buchtala
8bbd928831
Make javascript test-suite work with nodejs.
2013-09-03 16:57:40 +02:00
Simon Marchetto
360a565f7c
Scilab: refactor & clean make command lines
2013-09-03 14:11:45 +02:00
Oliver Buchtala
5da54ca435
Convert javascript examples to nodejs.
2013-09-03 06:26:54 +02:00
Oliver Buchtala
11e2179dd3
First example that addresses node.js as primary execution environment.
2013-09-03 05:40:22 +02:00
Oliver Buchtala
5aba4c7ea6
Starting from scratch with Examples configuration.
2013-09-03 05:35:03 +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
Oliver Buchtala
04cdde0563
Add test to check javascript unicode strings.
2013-08-31 03:34:37 +02:00