Commit graph

18,538 commits

Author SHA1 Message Date
Simon Marchetto
3a10c9a7cd Scilab: configure check version is 5.3 minimum 2013-09-09 11:43:20 +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
Oliver Buchtala
8408e9b193 Merge pull request #19 from whoozle/devel
fixed deprecation warnings for v8-3.21
2013-09-06 19:50:51 -07: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
6b35c2d419 Let Travis test all three targets.
- nodejs: 0.10.12
- libwebgitgtk 1.0
- libv8 3.7.12

We should soon switch to a new v8 version or add an extra runner.
2013-09-06 16:26:02 +03:00
Simon Marchetto
25cb1f2094 Merge pull request #86 from smarchetto/gsoc2012-scilab
Scilab: fix test-suite (errors, status, verbosity)
2013-09-06 06:15:14 -07: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
38750fd4ec Merge remote-tracking branch 'upstream/gsoc2012-scilab' into gsoc2012-scilab
Conflicts:
	Source/Modules/scilab.cxx
2013-09-06 11:17:27 +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
William S Fulton
4f663489fb Correct Scilab output file handling
Fix seg fault when builder file cannot be written.
Correct locations of output files when using -outdir - only language
specific files are output into the direrctory specified by -outdir.
2013-09-06 07:12:38 +01:00
William S Fulton
3ee711d1f4 Slight coding improvement 2013-09-06 06:55:03 +01: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
962207e0f3 Rewritten Javascript autoconfiguration. 2013-09-06 00:41:18 +03:00
Oliver Buchtala
29ccb270af Renamed object provided to JS initializers.
JSC initializer create a new module object.
V8 initializer fill a provided 'exports' object.
2013-09-06 00:40:29 +03:00
Oliver Buchtala
4794fa1884 Refactored custom javascript engines to support primitive 'require' statements. 2013-09-06 00:38:07 +03:00
William S Fulton
6e36208928 Scilab command line options
Document the options.
Make scilab -help consistent with the other target languages.
2013-09-05 19:15:51 +01:00
William S Fulton
cf077090d3 Scilab documentation tweaks.
Minor grammar fixes.
Fix HTML.
HTML formatting changes.
2013-09-05 18:20:38 +01:00
Vladimir Menshakov
b49da78b0a fixed deprecation warnings for v8-3.21 2013-09-05 19:50:15 +04:00
Oliver Buchtala
740da9c733 Merge pull request #17 from whoozle/devel
fixed v8-3.20+ compilation and deprecation warnings.
2013-09-04 09:18:42 -07:00
Vladimir Menshakov
2a39abebb6 moved common swig v8 definitions in javascriptruntime.swg, fixed obsoleted api calls 2013-09-04 20:10:42 +04:00
Oliver Buchtala
8b0ee5491a Added missing template configuration files for nodejs based tests. 2013-09-04 18:04:40 +02:00
Oliver Buchtala
315287b656 Put the SWIG_V8_VERSION macro into "runtime" block. 2013-09-04 17:55:44 +02:00
Oliver Buchtala
4068f31c6b Use a diffent name for the V8_VERSION provided via command line. 2013-09-04 17:54:35 +02:00
Simon Marchetto
08b779aee2 Scilab: return exit code 1 from Scilab when module build fails (for Travis test-suite status) 2013-09-04 17:42:19 +02:00
Simon Marchetto
ffc20033be Scilab: fix test cases compilation error (header not found) 2013-09-04 17:38:36 +02:00
Vladimir Menshakov
b7db2a84c9 fixed return values and added missing newer v8 dtor wrapper. 2013-09-04 19:33:48 +04:00
Sylvestre Ledru
213d67943a Merge pull request #83 from smarchetto/gsoc2012-scilab
Scilab const & enums improvements, parallelization of test-suite
2013-09-04 07:09:03 -07: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
Sylvestre Ledru
62d512b387 Update of the documentation regarding the Scilab change 2013-09-04 09:15:46 +02:00
William S Fulton
f47075ec99 Smart pointer documentation improvement 2013-09-03 23:58:05 +01:00
Oliver Buchtala
0e78fc0ad7 Fixing travis configuration. 2013-09-03 18:50:46 +02:00
Oliver Buchtala
da48f3307f Remove javascript autoconf detection (Temporarily).
I want to cut it down to a minimum having only nodejs.
We will activate the others (native JSC and V8) later.
2013-09-03 18:24:19 +02:00
Oliver Buchtala
262aca8ead Fix in travis config. 2013-09-03 17:16:40 +02:00
Oliver Buchtala
83e6aa85b6 Not a real change. 2013-09-03 17:13:38 +02:00
Oliver Buchtala
0aabfeb231 Slight modification to travis config. 2013-09-03 17:07:49 +02:00
Oliver Buchtala
fa27ff2976 Add a travis configuration (experimental). 2013-09-03 17:03:08 +02:00
Oliver Buchtala
8bbd928831 Make javascript test-suite work with nodejs. 2013-09-03 16:57:40 +02:00