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:
parent
11963788e0
commit
a64549034c
2 changed files with 19 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue