summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2013-01-18 23:52:48 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2013-01-18 23:52:48 +0000
commit95b176b6b300114abd2514599d8fc71de40e3ac7 (patch)
treefd248ddb3d008684fc6928a0fd5235f304738527
parent55f4bfec8e3ce00207c5d1e8bec2ac48b8ac62f8 (diff)
downloadswig-95b176b6b300114abd2514599d8fc71de40e3ac7.tar.gz
Java test-suite change to make it possible to not specify a namespace. Re-add java_nspacewithoutpackage testcase
-rw-r--r--Examples/test-suite/java/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Examples/test-suite/java/Makefile.in b/Examples/test-suite/java/Makefile.in
index f8da8e6cc..1ada28e84 100644
--- a/Examples/test-suite/java/Makefile.in
+++ b/Examples/test-suite/java/Makefile.in
@@ -28,6 +28,7 @@ CPP_TEST_CASES = \
java_lib_arrays_dimensionless \
java_lib_various \
java_jnitypes \
+ java_nspacewithoutpackage \
java_pgcpp \
java_pragmas \
java_prepost \
@@ -40,9 +41,11 @@ include $(srcdir)/../common.mk
# Overridden variables here
JAVA_PACKAGE = $*
-SWIGOPT += -package $(JAVA_PACKAGE)
+JAVA_PACKAGEOPT = -package $(JAVA_PACKAGE)
+SWIGOPT += $(JAVA_PACKAGEOPT)
# Custom tests - tests with additional commandline options
+java_nspacewithoutpackage.%: JAVA_PACKAGEOPT =
nspace.%: JAVA_PACKAGE = $*Package
nspace_extend.%: JAVA_PACKAGE = $*Package
director_nspace.%: JAVA_PACKAGE = $*Package