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
Oliver Buchtala
bad64925ed
Configuration is now easier for building and running examples and tests using v8.
2013-08-31 03:23:10 +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
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
fa166983aa
Scilab: remove unneeded examples from check list
2013-08-21 14:37:35 +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
7a0aaa39b3
Scilab: add STL list example in check list
2013-08-20 10:26:56 +02:00
Simon Marchetto
62b61b5349
Scilab: fix examples (no paging which stops tests)
2013-08-20 10:26:08 +02:00