Commit graph

48 commits

Author SHA1 Message Date
Simon Marchetto
4f2715a9ec Scilab: fix test case li_std_vector 2013-06-12 10:59:11 +02:00
Wolfgang Frisch
15d5d89b2f scilab: Make the build process non-interactive.
When Scilab encounters an error in builder.sce, it leaves the user with
an interactive scilab-cli shell. This is undesirable when executing test
cases.

This patch makes Scilab exit with an error code instead.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-04 07:45:30 +00:00
Wolfgang Frisch
264eedebd6 Merge commit 'e010feb054e21872ba5e315c52e4e990fe354a9f' into local/gsoc2012-scilab
Conflicts:
	Examples/Makefile.in

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-04 07:20:23 +00:00
Vincent Couvert
654066529b Fixes a few C++ test cases: clientdata_prop/imports/mod/multi_import/packageoption/template_typedef_import. Thx to Wolfgang Frisch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-10 19:56:17 +00:00
Vincent Couvert
5df671ed3a Update list of broken tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-30 14:01:58 +00:00
Vincent Couvert
28c1e9b437 runme file for vectors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-26 09:13:32 +00:00
Vincent Couvert
a8b8b6c5d4 * New version for Scilab module using fragments
* A C and CPP tests generate and compile except tests using vectors (to be done)



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-20 08:34:46 +00:00
Vincent Couvert
dca46d044f New test for strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-31 12:30:12 +00:00
Vincent Couvert
247a179807 Add new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-24 09:18:25 +00:00
Vincent Couvert
6a4221ce6d First version for this test but needs improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-23 15:39:00 +00:00
Vincent Couvert
3ca167ca82 Add aggregate_runme.sci test file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-28 14:37:32 +00:00
Vincent Couvert
454b1c8ab6 Add tests + small modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-28 13:14:32 +00:00
Vincent Couvert
f961981748 Make abstract_access test work and clean functionWrapper in scilab.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-28 08:59:37 +00:00
Vincent Couvert
c48e483fca New test file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-10 16:18:47 +00:00
Vincent Couvert
a189fa861d Create log file to avoid unnecessary verbose
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-10 16:18:20 +00:00
Vincent Couvert
b3220fe33f Bad name for searched library + less verbose
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-10 10:32:48 +00:00
Vincent Couvert
6307ae94e7 Also remove cxx wrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-10 10:31:04 +00:00
Vincent Couvert
efcc9e97c9 Enable cpp tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 16:06:40 +00:00
Vincent Couvert
998e2249f5 Add new rumne file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 15:54:29 +00:00
Vincent Couvert
fcde55e4d9 Use new swigtest files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 15:52:56 +00:00
Vincent Couvert
9a0ac2fa59 Add a test for library existence
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 15:52:24 +00:00
Vincent Couvert
c786f2f980 Add test for Scilab typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 16:44:59 +00:00
Vincent Couvert
002a35fab3 Fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 16:43:29 +00:00
Vincent Couvert
8814075a59 Fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 16:42:54 +00:00
Sylvestre Ledru
2aa7a9fbc9 Fix a mistake in the test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-15 08:18:40 +00:00
Sylvestre Ledru
5bd8d9c134 Test arrays_global added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-15 08:01:54 +00:00
Vincent Couvert
6da4c4d006 Nested structs test added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:45:49 +00:00
Vincent Couvert
5001e6e479 Exit from Scilab when the loader fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:45:16 +00:00
Sylvestre Ledru
43b91f43ca The empty test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:18:32 +00:00
Vincent Couvert
35cd4a1023 Update since .i has changed (merged from trunk)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:11:52 +00:00
Vincent Couvert
57a14d7459 New Scilab tests/examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:10:21 +00:00
Sylvestre Ledru
2e69d7a7d1 When failing, returns the name of the script
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 14:57:56 +00:00
Vincent Couvert
64bb416577 Add new test and make it work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 12:38:34 +00:00
Vincent Couvert
f7d5a8cccc Improve Scilab test suite with start/quit scripts + remove useless display.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 09:15:59 +00:00
Vincent Couvert
2625a29a96 Add lines(0) to avoid execution stopped by Scilab (Do you want to continue?)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-12 15:29:47 +00:00
Baozeng Ding
66d48198e7 fix somthing to pass testsuit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-30 07:31:55 +00:00
Baozeng Ding
ca48f10aa7 add arrays_dimensionless testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-20 15:31:33 +00:00
Baozeng Ding
394e632d6c add arrays_global_twodim testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-17 13:25:47 +00:00
Sylvestre Ledru
8514f13ea8 Typo in the test simple_array
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-03 18:23:46 +00:00
Baozeng Ding
8ee9175b6e some fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-16 15:56:32 +00:00
Baozeng Ding
0623fdff8b add 'funcptr, inctest, integers, preproc, name' testcases and fix the empty testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 09:22:36 +00:00
Baozeng Ding
4ca1d4c19e add unions, typedef_struct, char_contant, sneaky1 testcases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-14 03:35:30 +00:00
Baozeng Ding
39f1193f87 add overload_extend and overload_extendc testcases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-13 15:55:19 +00:00
Baozeng Ding
d433e27f15 fix typemap_subst.i testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-10 14:01:05 +00:00
Baozeng Ding
b1a384dc3c a better way to deal with constants and enums and some change about the doc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-08 13:25:29 +00:00
Baozeng Ding
c85685b60b add li_cpointer and newobject2 test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-06 12:36:25 +00:00
Baozeng Ding
756f2645ce fix some issue and two test-suit:simple_array, li_math
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-05 10:59:06 +00:00
Baozeng Ding
b81ec23048 Built environment of test-suit and add two test-suit:enum, struct_rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-04 13:08:44 +00:00