Commit graph

49 commits

Author SHA1 Message Date
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
baec61c5ab java_director_exception_feature_nspace test case changes
- The implementation for SEP for the classpath is not portable, eg the
separator should be ':' not ';' on Cygwin, but clearly it could be ';'
if using a native Windows version of Java. In the past the test-suite
has been constructed to avoid this problem and these changes go back to
this approach at the expense of not testing nspace without -package (but
not specifying -package is quite unusual when using nspace, so no great
loss). This test could be restored to how it was if the separator is
detected at configure time from the JVM itself, eg by calling Java code:

  System.out.println(System.getProperty("path.separator"));

- Mangle the non-public classes in the _runme.java file so that they are
unique to this testcase (the .class files generated can interfere with
other tests).

- Const corrections and spelling mistakes fixed in test case.

test case improvements
2013-11-07 22:50:08 +00:00
Marvin Greenberg
6736e74127 Add feature director:except for improved director exception handling in Java
Closes #91
2013-10-22 20:44:35 +01:00
William S Fulton
6fafa8cecc Merge pull request #17 from tristan0x/fix-test-suite-if-custom-java
use executables path set at ./configure time
2013-01-18 17:13:16 -08:00
William S Fulton
bda67e1d78 Cosmetic makefile change 2013-01-19 01:06:01 +00:00
William S Fulton
95b176b6b3 Java test-suite change to make it possible to not specify a namespace. Re-add java_nspacewithoutpackage testcase 2013-01-18 23:52:48 +00:00
William S Fulton
55f4bfec8e Revert Java test-suite makefile to adf51b5249 2013-01-18 23:47:23 +00:00
Tristan Carel
219555ebea use executables path set at ./configure time 2013-01-17 19:07:30 +01:00
Brant K. Kyser
43ad8e611a Remove comment about previously outstanding TODO that has been cleaned up. 2013-01-17 08:13:04 +00:00
Brant K. Kyser
28da117186 Modify java test-suite Makefile to run the java_nspacewithoutpackage test without the -package option. 2013-01-17 08:13:04 +00:00
Brant K. Kyser
988952af65 Add test case for using nspace without -package. TODO: Fix Makefile.in to actually not use -package when invoking swig. 2013-01-17 08:13:04 +00:00
marvingreenberg
30b1eafd96 fix variable names and makefile logic to correctly set PKGDIRSETUP and SWIGOPT for different cases 2013-01-17 08:13:04 +00:00
marvingreenberg
9855e4d064 Allow certain tests to compile without -package option 2013-01-17 08:13:03 +00:00
Brant K. Kyser
c786781e92 Add test case for SourceForge Bug #1299 2013-01-05 03:14:42 -06:00
William S Fulton
289b8bb269 Fix additio of assumeoverride testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-13 21:59:14 +00:00
William S Fulton
196097949b Add JNI checking when running Java test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-29 20:27:56 +00:00
William S Fulton
debd5e9246 Add support for %nspace when using directors - Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-01-06 18:57:25 +00:00
William S Fulton
70b4d12317 Restore in source and out of source builds for the test-suite. Note that configure must be invoked using a relative path for out of source builds
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-28 05:53:17 +00:00
Vadim Zeitlin
48a2e0bdea Correct top_{src,build}dir definitions in csharp and java test suite.
The ".." artificially appended to these variables was enough to make the build
work in the source directory but broke down when the build directory was
different from the source one. Remove this hack and use absolute path to the
build directory instead to ensure that it's still valid even when csharp/java
makefiles invoke swig_and_compile_{c,cpp} macros from a subdirectory.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-22 17:01:36 +00:00
William S Fulton
7338f39936 Fix out of source builds for the test-suite which broke in 1.3.37
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-07-18 00:06:40 +00:00
William S Fulton
deafe98dc4 Test %extend and nspace feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-08 23:02:53 +00:00
William S Fulton
1253657bb4 Add improved namespace support - the nspace feature, working for Java only at the moment.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-04 21:27:23 +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
9fe205d0f1 reverse merge last commit - 11348
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-02 22:40:49 +00:00
William S Fulton
1adaae5780 rename custom testcases with a custom_ prefix (intermediary_classname.i and lib_arrays.i). Also some typo fixes for custom testcases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-02 21:59:29 +00:00
William S Fulton
fa2289e4c3 li_intrusive_ptr test - commented out as not fully working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-28 20:35:22 +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
e9a621ca5e 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@10481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:25:10 +00:00
William S Fulton
b772aa2e24 test exception_partial_info only in Java and C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 21:36:43 +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
7199cf2ef0 Ensure the premature garbage collection prevention parameter (pgcpp) is generated for Java wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:17:50 +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
William S Fulton
fd03218011 pre, post, cshin, pgcppname attribute tests for javain/csin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:48:38 +00:00
William S Fulton
e037db38fd Fixes for autoconf-2.59d (2.60 beta)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:49:15 +00:00
William S Fulton
e0907e37a3 Specify classpath which is needed should the CLASSPATH env variable be set
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 19:54:27 +00:00
William S Fulton
c89104ea60 Add in intermediary_classname test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 23:25:03 +00:00
William S Fulton
828aabe49d Various Java specific director feature tests - tests from Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-28 21:35:10 +00:00
William S Fulton
eff288458a remove hs_errxxxx.log files with clean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:07:54 +00:00
William S Fulton
f2e13c6616 test java arrays wrapping for dimensionless arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:41:52 +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
2252e3bb13 Proper enum test added. Needs JDK1.5 beta 2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:18 +00:00
William S Fulton
1b1dadc9de New default Java enum wrapping approach which uses the type safe enum pattern
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 19:58:10 +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
3a6d631b08 Java specific test to test the various.i typemap library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 21:02:37 +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
Renamed from Examples/test-suite/java/Makefile (Browse further)