Olly Betts
064f18131d
Fix "check_quant" target in ocaml testsuite
...
Previously it would be confused by testcases names which were a suffix
of another testcase name (e.g. name and keyword_rename).
2015-03-18 15:49:48 +13:00
Olly Betts
eec4e7e2ee
Use the ocamlc configure found
2015-03-18 13:12:12 +13: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
Karl Wette
7cd9063b52
Remove execute permissions from various non-executable files
...
- source files and Makefiles need never be executable
- scripts are run directly by their interpreters in the
test suites, so also do not need to be executable
2014-05-02 20:06:11 +02: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
a1933f7bbc
Fix make partialcheck-ocaml-test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 20:08:57 +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
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
William S Fulton
53ceae6a0a
fix for perl keyword
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 23:05:11 +00:00
Art Yerkes
3101067a2d
Uniform SWIGSTATIC on all prototypes.
...
#ifdef __GNUC__ -> static inline to remove warning spew using gcc
typemaps: tweaks for arrays, enums
ocaml.cxx: remove Swig. qualifier everywhere it's not needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 04:17:00 +00:00
Art Yerkes
30cdeb143a
Runtime test for multimodule import.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:39:52 +00:00
Art Yerkes
db57b0d6d8
Some delayed maintenance.
...
Fixes for multimodule targets.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 07:56:17 +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
Art Yerkes
e0dca0ec65
shapes example: slight correction to depth map.
...
makedebugtop: include swig.cmo
Lib: factored out more common code, slightly reorganized class type.
added director define and exceptions.
std_string: length from the original ocaml string (no longer depends on
null termination)
ocamldec.swg/ocaml.swg: added caml_string_len
Examples/Makefile.in: quiet about checking out files.
Ocaml.cxx:
Fixed abstract director test case.
Include/exclude director.swg based on directors being enabled.
Final edits for 1.3.20, barring bugs being discovered.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:15:07 +00:00
Art Yerkes
c283f61209
Changed test cases to open Swig.
...
Changed test case runme line a bit to link swig.cmo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 21:17:06 +00:00
Art Yerkes
dff2895809
Director related changes, other edits.
...
director_wombat testcase, as well as all others except director_abstract
compile.
Four test cases fail.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-22 04:01:27 +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
Art Yerkes
f45fd1a36e
Typedef_mptr test (with runme).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 16:19:28 +00:00
Art Yerkes
7f9f4144ce
Added minherit test + runme.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 15:16:32 +00:00
Art Yerkes
14d27cfd0a
Fix for C++ tests.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-19 02:54:41 +00:00
Art Yerkes
09af4a2de0
Added name_runme.ml
...
Proves solution to rename and %constant.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-19 00:34:26 +00:00
Art Yerkes
a2db8d0bb2
Fixed runme for current code generation. No _get or _set on method names
...
for getting and setting struct or union members.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 15:13:13 +00:00
Art Yerkes
4b2da49eb3
Added:
...
Type registration. Correct support for casting. Proper type safety.
Changed:
ocaml.swg: Correct casts, declaration order for C
ocamldec.swg: Removed problematic forward declarations without array index.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 16:24:47 +00:00
Art Yerkes
448c3c62ab
Added some tests to mimic the ones in the python directory. Working my
...
way through the alphabet.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 15:25:27 +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