William S Fulton
155e31626c
Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend
2016-02-21 19:24:11 +00:00
William S Fulton
ca64b06229
Consistent quoting in Makefile
2015-08-21 22:48:34 +01: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
beccd3258f
Update all languages to use SCRIPTDIR
...
R also to use SCRIPTPREFIX and SCRIPTSUFFIX
2014-05-15 23:11:07 +01: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
4f3c77051f
Slight wording change when running test-suite
...
Should be easier to parse 'by eye'
2014-02-22 20:51:27 +00:00
William S Fulton
bdf98744b1
Fix guilescm_ext_test and chicken_ext_test testcases
2013-04-23 22:29:52 +01:00
Olly Betts
f9566ad2df
Fix assorted typos.
...
From https://sourceforge.net/p/swig/patches/332/ and some others too.
2013-01-08 18:47:40 +13: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
31d43ea8c0
Move custom commandline option overrides to new common section used in all other makefiles
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-03 23:32:14 +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
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
67f0d42dfc
correct message display when running the partialcheck-test-suite make target
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:39:41 +00:00
William S Fulton
1d2856d820
fix partialcheck-test-suite and parallel make for r, chicken, tcl and php
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:26:07 +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
John Lenz
4ace915a56
Chicken test suite now runs with no errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 23:08:34 +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
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
John Lenz
56904f30d0
- Fix SF bug 1573892
...
- Minor change to chicken to make it work with version 2.5rc1
- add externaltest to chicken and guile modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 08:19:27 +00:00
John Lenz
b3cc02cfd0
Remove integers_runme.ss because Chicken does not test for integer overflow
...
Fixes to get apply_strings.i to work in the testsuite
Minor documentation updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-21 04:16:21 +00:00
John Lenz
7b4adb3109
Update Chicken configuration to not use chicken-config
...
which was removed in version 2.3
Other minor bug fixes to chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9041 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-06 01:16:57 +00:00
Matthias Köppe
82fb3af460
New test case integers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-14 19:03:55 +00:00
Marcelo Matus
c661fae1e7
add %naturalvar to std::string and remove local li_std_string.i, so Mattias can finish the examples here :)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:52:57 +00:00
Marcelo Matus
f959dde9bd
add %naturalvar to std::string and remove local li_std_string.i, so Mattias can finish the examples here :)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:25:51 +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
Marcelo Matus
744ba3f76c
add local li_std_string test with %naturalvar applied to variables while the way to apply %naturalvar to std::string is sorted out
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 17:15:19 +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
f6d0f3b3ae
fixes for chicken and the STL/STD cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:43:56 +00:00
Marcelo Matus
a3a4859112
fixes for chicken and the STL/STD cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:38:28 +00:00
John Lenz
48f1da1bfc
+ finally fix pointers to member functions in chicken
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 03:42:32 +00:00
John Lenz
5bbd841acc
Chicken: Remove workaround for memory corruption from the li_typemaps_runme test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 04:15:02 +00:00
John Lenz
365095ef2f
Chicken:
...
fix memory corruption/segfault in the argout typemap when it is used with a wrapped pointer return
unsigned long typemaps could overflow... correctly check for this case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 04:05:11 +00:00
John Lenz
d635d48eb5
Minor updates to the documentation
...
Minor bug fixes to chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-06 01:20:05 +00:00
John Lenz
d5974f3e1e
SWIG chicken module now returns multiple values instead of returning a list.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 22:38:09 +00:00
John Lenz
b599732cdc
Add a whole bunch of chicken runme scripts, and fix the bugs exposed by those scripts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 05:23:14 +00:00
John Lenz
56ac2ae4b1
Add some chicken test-suite entries for overloaded functions
...
(which now work correctly) and update the chicken documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-07 00:39:28 +00:00
John Lenz
1a2b1863b1
Added chicken runme
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 17:50:05 +00:00
John Lenz
7e55b36764
Chicken: a few bug fixes, a new example and some new test suite runme, and some doc updates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 17:48:31 +00:00
John Lenz
897e5ad40d
Lots more bug fixes for the chicken module: almost the entire test-sutie now runs
...
The only tests that are failing are ones that depend on std_vector.i and similar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 07:28:19 +00:00
John Lenz
6bcccbe455
Fix a few more chicken bugs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-16 06:51:03 +00:00
John Lenz
7b8f8c994d
Chicken test suite should at least run now... still generates a bunch of errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 03:10:50 +00:00
John Lenz
68372c5c2f
More work on the chicken module. The test suite, zlib, and overload examples are still broken.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 02:50:30 +00:00
John Lenz
e639abae0f
added new chicken runme script
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 18:35:08 +00:00
John Lenz
2836e9599d
Rework the CLOS code for chicken... still needs a little more work
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:10 +00:00
William S Fulton
847a59246b
Restore multiple build directories for test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-10 22:25:02 +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