William S Fulton
e12277a469
Ruby shared_ptr fixes for use with minherit
2015-10-01 22:36:01 +01:00
William S Fulton
004ae163e5
Add RUBYFLAGS for Ruby testing
...
make check RUBYFLAGS=-v can be useful
2015-09-25 23:15:25 +01:00
William S Fulton
ca64b06229
Consistent quoting in Makefile
2015-08-21 22:48:34 +01:00
William S Fulton
bfde148887
The kwargs feature no longer turns on compactdefaultargs for languages that don't support kwargs.
...
Affects all languages except Python and Ruby.
Closes #242
2014-10-21 07:34:51 +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
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
ee92a26819
Fixes for out of source builds for Ruby test-suite
2013-04-02 22:21:48 +01:00
Klaus Kämpf
eab417a3a1
Ruby 1.9: Add current dir to load path when running Ruby
...
Ruby 1.9 changes the default load path to _not_ include the current
directory. This breaks running the test cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-12-14 14:07:32 +00:00
William S Fulton
58e74e8675
Rename python_kwargs testcase to kwargs_feature. Add kwargs_feature to Ruby and fix Ruby warnings when using kwargs feature. Add %kwargs macro for Ruby
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-06-13 17:38:08 +00:00
William S Fulton
9d6e826bd8
Test std::map in all languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-20 23:21:07 +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
267ffd6ce6
move std::multimap tests from li_std_map.i into new li_std_multimap.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-12 17:24:01 +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
f1e5b5edff
Move ruby specific test into Ruby specific testcase li_std_pair_lang_object.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-03 19:45:14 +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
Gonzalo Garramuno
8622de7595
Removed allocator from constructors.
...
Added copy constructors to stack/queue.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 05:54:48 +00:00
Gonzalo Garramuno
0f15d298da
Modified ruby functors to remove ruby prefix.
...
Added new test for functors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 04:08:55 +00:00
Gonzalo Garramuno
4cd98d3865
Improved algorithm of renaming of methods with numbers at the end.
...
Fixed some const issues.
Improved report on overloaded function error.
Fixed some minor iterator potential problems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-04 13:12:31 +00:00
Gonzalo Garramuno
ccf65a1e56
Added support for inheritance in class description,
...
even if not recognized by rdoc yet.
Added autodoc flag to Makefile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 00:18:15 +00:00
Gonzalo Garramuno
c6ece2bb93
Made autodoc ignore numinputs=0.
...
Added more typemap(doc) for documenting STL
and standard ruby methods.
Added missing RUBY_SELF typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 22:09:06 +00:00
Gonzalo Garramuno
68b52c4ee5
Added support for complex numbers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-01 10:37:09 +00:00
Gonzalo Garramuno
163efb1923
Added set test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-01 06:43:10 +00:00
Gonzalo Garramuno
2fd7c775ea
Added new li_std_map.i test to Makefile.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-01 05:50:06 +00:00
Olly Betts
b18f84692d
Use the ruby interpreter which configure found rather than just assuming it's
...
called "ruby".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 22:39:39 +00:00
Charlie Savage
266557d640
Added support for li_factory test to Ruby.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 19:44:37 +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
Charlie Savage
b3fd2c21f9
New test for using Ruby keywords as method names.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 21:05:18 +00:00
Charlie Savage
e33f9e9b62
New Ruby test case for checking renames, predicate methods, bang methods and constants.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:50:49 +00:00
Charlie Savage
46bb25e661
Changed -norename to -noautorename.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:32:43 +00:00
Charlie Savage
9a15da5790
Added option to send to SWIG that controls whether the new rename mechanism for Ruby is used. By default it is turned off.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:12:40 +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
Charlie Savage
ed80d73e73
Added track_objects_directors test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:36:36 +00:00
William S Fulton
ea310550fa
correct last checkin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:48:22 +00:00
William S Fulton
a6ac0941e7
move ruby only test to ruby directory
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:20:19 +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
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
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