Commit graph

53 commits

Author SHA1 Message Date
William S Fulton
d944526d5e fix comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 21:54:25 +00:00
William S Fulton
9a95994070 Workaround for Test::More 's ok function not working on Perl 5.004_04
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 21:50:33 +00:00
Marcelo Matus
0b0a48a6c4 add test for 'void *' argument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 00:02:45 +00:00
Marcelo Matus
d3c06307ee add test for 'void *' argument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 00:02:03 +00:00
Marcelo Matus
2396ded0f4 fix varout typemaps for swigtypes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 21:31:19 +00:00
Marcelo Matus
19ce5762f0 reenable missing INPUT/OUTPUT, and add tests for std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:55:43 +00:00
William S Fulton
198eef555d Fix dodgy comparison which would never fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:06:12 +00:00
William S Fulton
232775c55b Add in runtime tests for std::string variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:00:45 +00:00
Jason Stewart
8e405d580c perl test runner now properly catches STDERR
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:36:57 +00:00
Jason Stewart
e1b358a5f2 fixing old perl's to use Test::More
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:31:27 +00:00
Jason Stewart
3d838c6454 added note about Test::More support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:06:00 +00:00
Jason Stewart
0962fd32d9 converted to use Test::More
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:01:46 +00:00
Jason Stewart
5df78f830d removed && and || tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:01:17 +00:00
Jason Stewart
a33274543f all test cases are now run through a wrapper script which traps
STDOUT/STDERR, and echos the output only on a test failure. This
supports the usage of Test::More or Test::Harness without breaking the
existing test suite behavior.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:00:40 +00:00
Marcelo Matus
38c8cf2cb8 add __not__ and test the new bool typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 15:53:23 +00:00
Marcelo Matus
b06f56b4a6 comment part of the test that is broken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 08:13:15 +00:00
Marcelo Matus
75d64a4018 add native bool support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 07:27:12 +00:00
William S Fulton
49352e13b1 call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:36:36 +00:00
Jason Stewart
18771f8267 Perl module now fully supports operator overloading
added script for testing overloading support which uses Perl test harness: Test::More

updated HTML docs for operators


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 10:59:27 +00:00
Marcelo Matus
6bf5187168 add castmode in python and cleaning the castdispatch mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
485ccd5809 add more dispatch cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 01:44:36 +00:00
Marcelo Matus
c0da62d128 implement the rank-cast dispatch mechanism, which is now the default behavior in perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:07:49 +00:00
Marcelo Matus
1fa14f74a7 add disown.i and li_attribute.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:08:18 +00:00
Marcelo Matus
ead70adb56 more fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 15:15:42 +00:00
Marcelo Matus
3428bf10a6 add interpreter variable, so it can be used with valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:51:41 +00:00
Marcelo Matus
8be1b7a07c move attribute.i to the typemap library, now is usable from all the languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:20:50 +00:00
Marcelo Matus
3c65cea431 Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
William S Fulton
db84d961e3 Test for patch #1116431 Fix non member functions inadvertently being called instead of member functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:20:27 +00:00
William S Fulton
80b086b382 simple const enum SWIGTYPE & typemap test and enum by value runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:21:52 +00:00
William S Fulton
ed85b98a2d more %rename/%ignore tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-09 21:27:02 +00:00
Marcelo Matus
994e796c87 add std_list (lluisp #1033399)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:32:26 +00:00
William S Fulton
6784d7e6cc test for default args in const methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:26:26 +00:00
Marcelo Matus
cda03e616f fixes for new name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 00:57:47 +00:00
William S Fulton
89782ca04e lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:18:22 +00:00
William S Fulton
dc903c677a lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00
William S Fulton
40c6de5b56 lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses which won't load libraries starting with lib.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:03:04 +00:00
William S Fulton
eafd417f0d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:18:27 +00:00
William S Fulton
0835a9ac15 tests for default arguments in templated functions added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:03:08 +00:00
William S Fulton
9f3ab6c671 new default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:58 +00:00
William S Fulton
571292260e minor runtime test mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:04:22 +00:00
William S Fulton
e03b3f790e new runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:29:47 +00:00
John Lenz
0fb8c59673 Three new broken test cases created to test various patches in the patch list.
Bugs 909389, 962115, and 899332.
These bugs all have fixes in the patch system.
Patches 903150, 914926, and 962168.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 07:06:01 +00:00
William S Fulton
6e570eda85 Testcases that used the prebuilt runtime library generate their own runtime library DLL/so and use that instead now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:36:19 +00:00
Marcelo Matus
0b945f2dd3 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00
William S Fulton
d3d9210bd0 Replace ; with && where appropriate. This fixes the makefiles so that Make correctly errors out rather than blindly carrying on when some error occurs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00
Dave Beazley
9297f1b229 Fixed configure bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:15:07 +00:00
Dave Beazley
b1c789e5fb Additional test added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-30 17:35:30 +00:00
William S Fulton
b0520285d1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:58:14 +00:00
William S Fulton
5206dd0912 Multiple build directory support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 15:15:50 +00:00
William S Fulton
976d6e5a2b Makefile replaced with Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-31 16:22:43 +00:00