Javascript: generalise test-case 'typemap_variables' so that it can be used for Javascript V8.

The original version contains output typemaps that produced incompatible code.
Introduce a pre-processor macro that is set to a valid value for v8.
This commit is contained in:
Oliver Buchtala 2014-05-19 00:58:32 +02:00
commit a64549034c
2 changed files with 19 additions and 16 deletions

View file

@ -28,14 +28,6 @@ _setup = \
echo "$(ACTION)ing $(LANGUAGE) ($(JSENGINE)) testcase $*" ; \
fi;
ifneq (jsc,$(ENGINE))
# This test can not be run with v8 as it uses v8 API incompatible output typemaps
typemap_variables.cpptest:
echo "skipping $(LANGUAGE) ($(JSENGINE)) testcase typemap_variables" ;
endif
ifeq (node,$(JSENGINE))
SWIGOPT += -v8 -DBUILDING_NODE_EXTENSION=1