Commit graph

46 commits

Author SHA1 Message Date
William S Fulton
12eb0f81ae Fix overloading for non-pointers and NULL - Tcl 2018-12-29 14:55:43 +00:00
William S Fulton
95e8643d70 Rename func to funk in tests to avoid Go keyword problems 2017-06-16 19:24:48 +01:00
William S Fulton
ca64b06229 Consistent quoting in Makefile 2015-08-21 22:48:34 +01:00
William S Fulton
55a9dc7115 Add c++11 strongly typed enums runtime test for Tcl 2014-11-27 19:59:23 +00:00
Karl Wette
3fe1eb7056 Set SRCDIR when calling test-suite clean targets, in case it's needed 2014-05-29 02:29:27 +02:00
William S Fulton
2b5499a262 Slight simplification of test-suite build for new out-of-source changes
Provide default SRCDIR and SCRIPTDIR variables in common.mk and override
only where needed.
2014-05-15 23:11:07 +01:00
Karl Wette
f574a34155 Allow examples and test-suite to be built out of source tree
- Examples/Makefile.in rules use SRCDIR as the relative source directory

- ./config.status replicates Examples/ source directory tree in build
  directory, and copies each Makefile to build directory, prefixed with
  a header which sets SRCDIR to source directory

- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir

- Examples/test-suite/errors/Makefile.in needs to filter out source
  directory from SWIG error messages

- Lua: embedded interpreters are passed location of run-time test

- Python: copy run-time scripts to build directory because of 2to3
  conversion; import_packages example copies __init__.py from source
  directory; test-suite sets SCRIPTDIR to location of run-time tests

- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
  can be substituted with SRCDIR; removed './' from require() statements
  so that NODE_PATH can be used to point Node.js to build directory
2014-05-11 23:21:10 +02:00
Karl Wette
d5b765d388 Whitespace cleanup of all Makefiles*
- some of the %.clean rules in the test-suite Makefiles were using a single tab
  as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
2014-05-02 20:06:11 +02:00
William S Fulton
f35dd29dff Apply #3300072 from Christian Delbaere to fix multiple module loading not always sharing variables across modules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-17 18:12:53 +00:00
William S Fulton
60a1c5eed3 Apply patch 3224663 for Tcl - NULL value fixes and performance improvements for classes with many methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-29 18:57:42 +00:00
Miklos Vajna
451f71d7b1 remove unnecessary extra semicolons in the tesuite
Basically just style cleanup, "fi;" or "fi; \" -> "fi".

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-09 22:52:08 +00:00
William S Fulton
56c5b52c1d remove unnecessary extra shells being spawned in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-09 22:39:51 +00:00
William S Fulton
9064b08651 better way to provide custom commandline options for individual tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-03 22:23:43 +00:00
William S Fulton
c07efac296 Fix union.i module name and rename to union_parameter.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-12 11:42:27 +00:00
William S Fulton
db83e51441 modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:35:15 +00:00
William S Fulton
f06222b993 Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:27:22 +00:00
William S Fulton
ede8b8c87a Remove cvs $Header$
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:56:11 +00:00
William S Fulton
94323e0d52 remove broken tcl test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-03 19:45:56 +00:00
William S Fulton
f5bdd056f7 Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 23:47:13 +00:00
William S Fulton
e4bade15f3 fixes to use parallel make when running the examples and test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:26:54 +00:00
John Lenz
6dda6f8321 Remove cvsignore files: this is stored on svn:igonre property now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-03 08:28:42 +00:00
Olly Betts
7c2638bd89 Use "[info sharedlibextension]" instead of trying ".so" then ".dll". All
the other tcl scripts in the test-suite have already been changed in this
way, but this one was missed it seems.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 22:43:48 +00:00
Marcelo Matus
f77b1da32e add option to use valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:17:49 +00:00
Marcelo Matus
c222ef7cee fix gcc warning reported by R. Bernstein
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:29:15 +00:00
Marcelo Matus
f641130612 fix premature object deletion reported by Paul in tcl3d
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:19:50 +00:00
Marcelo Matus
07d4ca1013 add missing delete that valgrind misses
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 20:46:46 +00:00
Marcelo Matus
d6757125c2 add/fix std_string test with %naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 06:14:35 +00:00
William S Fulton
f736ec91c2 Get clean target working again
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:36:21 +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
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
Marcelo Matus
7e5e4fd1f9 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
William S Fulton
878f80fc0c %newobject tests from Bob Marinier
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-18 20:38:23 +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
John Lenz
143bfb2a62 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +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
eea53dbb48 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 18:11:38 +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
f50eac41ce Tcl patches. Use [info sharedlibextension] to get file extension rather than hard-coding it]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 21:20:00 +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
William S Fulton
a09cc47190 New runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:09:58 +00:00
William S Fulton
042b69eb46 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:26:50 +00:00
Dave Beazley
12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00