Oliver Buchtala
48af60d829
Javascript examples.
2013-09-27 03:25:28 +02:00
Oliver Buchtala
6dcbbf07db
Conflicts:
...
.gitignore
.project
.travis.yml
Examples/Makefile.in
Examples/test-suite/director_nspace.i
2013-09-27 02:29:02 +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
Oliver Buchtala
c2d3da2eec
Fix test configuration.
2013-09-26 05:14:34 +02:00
Oliver Buchtala
7adf93ef0f
Fix test configuration for nodejs.
2013-09-26 04:13:32 +02:00
Olly Betts
12708c9241
Fix typos
2013-09-25 17:29:33 +12:00
Simon Marchetto
5c7092e2cc
Scilab: fix test-suite clean
2013-09-24 12:37:11 +02:00
Oliver Buchtala
2efe63ebb2
Add some test runners.
2013-09-24 01:50:33 +02:00
Oliver Buchtala
8bf966a65c
Fix %nspace support and activated relevant tests.
2013-09-24 01:47:13 +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
d0cb2b73db
Remove X11 detection during configure
...
X11 is not used anywhere.
2013-09-18 00:40:24 +01: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
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