Javascript test-suite makefile update
Reword output to what is now on master Remove SMOKE targets - these could be re-introduced centrally if needed or otherwise partialcheck is a good alternative.
This commit is contained in:
parent
ffe4bd8f60
commit
ccaf3bfe79
2 changed files with 3 additions and 75 deletions
|
|
@ -92,15 +92,10 @@ CPP_TEST_BROKEN += \
|
||||||
template_expr \
|
template_expr \
|
||||||
$(CPP11_TEST_BROKEN)
|
$(CPP11_TEST_BROKEN)
|
||||||
|
|
||||||
|
|
||||||
# Broken C test cases. (Can be run individually using: make testcase.ctest)
|
# Broken C test cases. (Can be run individually using: make testcase.ctest)
|
||||||
C_TEST_BROKEN += \
|
C_TEST_BROKEN += \
|
||||||
tag_no_clash_with_variable
|
tag_no_clash_with_variable
|
||||||
|
|
||||||
# Note: this allows to override the global list of tests for the purpose of
|
|
||||||
# smoke testing to foster shorter test-driven development cycles
|
|
||||||
ifndef SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
# C++ test cases. (Can be run individually using: make testcase.cpptest)
|
# C++ test cases. (Can be run individually using: make testcase.cpptest)
|
||||||
CPP_TEST_CASES += \
|
CPP_TEST_CASES += \
|
||||||
abstract_access \
|
abstract_access \
|
||||||
|
|
@ -497,11 +492,6 @@ CPP_TEST_CASES += \
|
||||||
wallkw \
|
wallkw \
|
||||||
wrapmacro
|
wrapmacro
|
||||||
|
|
||||||
endif #SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
|
|
||||||
ifndef SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
# C++11 test cases.
|
# C++11 test cases.
|
||||||
CPP11_TEST_CASES = \
|
CPP11_TEST_CASES = \
|
||||||
cpp11_alignment \
|
cpp11_alignment \
|
||||||
|
|
@ -535,8 +525,6 @@ CPP11_TEST_CASES = \
|
||||||
cpp11_unrestricted_unions \
|
cpp11_unrestricted_unions \
|
||||||
cpp11_userdefined_literals \
|
cpp11_userdefined_literals \
|
||||||
|
|
||||||
endif # SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
# Broken C++11 test cases.
|
# Broken C++11 test cases.
|
||||||
CPP11_TEST_BROKEN = \
|
CPP11_TEST_BROKEN = \
|
||||||
# cpp11_hash_tables \ # not fully implemented yet
|
# cpp11_hash_tables \ # not fully implemented yet
|
||||||
|
|
@ -544,8 +532,6 @@ CPP11_TEST_BROKEN = \
|
||||||
# cpp11_variadic_templates \ # Broken for some languages (such as Java)
|
# cpp11_variadic_templates \ # Broken for some languages (such as Java)
|
||||||
# cpp11_reference_wrapper \ # No typemaps
|
# cpp11_reference_wrapper \ # No typemaps
|
||||||
|
|
||||||
ifndef SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Put all the heavy STD/STL cases here, where they can be skipped if needed
|
# Put all the heavy STD/STL cases here, where they can be skipped if needed
|
||||||
#
|
#
|
||||||
|
|
@ -570,17 +556,12 @@ CPP_STD_TEST_CASES += \
|
||||||
template_opaque
|
template_opaque
|
||||||
# li_std_list
|
# li_std_list
|
||||||
|
|
||||||
endif # SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
CPP_TEST_CASES += ${CPP_STD_TEST_CASES}
|
CPP_TEST_CASES += ${CPP_STD_TEST_CASES}
|
||||||
|
|
||||||
ifneq (,$(HAVE_CXX11_COMPILER))
|
ifneq (,$(HAVE_CXX11_COMPILER))
|
||||||
CPP_TEST_CASES += $(CPP11_TEST_CASES)
|
CPP_TEST_CASES += $(CPP11_TEST_CASES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
ifndef SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
# C test cases. (Can be run individually using: make testcase.ctest)
|
# C test cases. (Can be run individually using: make testcase.ctest)
|
||||||
C_TEST_CASES += \
|
C_TEST_CASES += \
|
||||||
arrays \
|
arrays \
|
||||||
|
|
@ -634,10 +615,6 @@ C_TEST_CASES += \
|
||||||
union_parameter \
|
union_parameter \
|
||||||
unions
|
unions
|
||||||
|
|
||||||
endif # SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
ifndef SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
# Multi-module C++ test cases . (Can be run individually using make testcase.multicpptest)
|
# Multi-module C++ test cases . (Can be run individually using make testcase.multicpptest)
|
||||||
MULTI_CPP_TEST_CASES += \
|
MULTI_CPP_TEST_CASES += \
|
||||||
clientdata_prop \
|
clientdata_prop \
|
||||||
|
|
@ -648,8 +625,6 @@ MULTI_CPP_TEST_CASES += \
|
||||||
template_typedef_import \
|
template_typedef_import \
|
||||||
multi_import
|
multi_import
|
||||||
|
|
||||||
endif # SMOKE_TESTS_ONLY
|
|
||||||
|
|
||||||
# Custom tests - tests with additional commandline options
|
# Custom tests - tests with additional commandline options
|
||||||
wallkw.cpptest: SWIGOPT += -Wallkw
|
wallkw.cpptest: SWIGOPT += -Wallkw
|
||||||
preproc_include.ctest: SWIGOPT += -includeall
|
preproc_include.ctest: SWIGOPT += -includeall
|
||||||
|
|
|
||||||
|
|
@ -16,67 +16,20 @@ else
|
||||||
JSENGINE=node
|
JSENGINE=node
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (1,$(SMOKE))
|
|
||||||
|
|
||||||
C_TEST_CASES = \
|
|
||||||
preproc \
|
|
||||||
preproc_include
|
|
||||||
|
|
||||||
CPP_TEST_CASES = \
|
|
||||||
abstract_access \
|
|
||||||
abstract_typedef \
|
|
||||||
abstract_typedef2 \
|
|
||||||
abstract_virtual \
|
|
||||||
arrays_global \
|
|
||||||
array_member \
|
|
||||||
char_binary \
|
|
||||||
class_ignore \
|
|
||||||
class_scope_weird \
|
|
||||||
complextest \
|
|
||||||
constover \
|
|
||||||
constructor_copy \
|
|
||||||
cpp_enum \
|
|
||||||
cpp_namespace \
|
|
||||||
cpp_static \
|
|
||||||
enum_template \
|
|
||||||
namespace_virtual_method \
|
|
||||||
nspace \
|
|
||||||
nspace_extend \
|
|
||||||
overload_copy \
|
|
||||||
rename_simple \
|
|
||||||
rename_scope \
|
|
||||||
ret_by_value \
|
|
||||||
struct_value \
|
|
||||||
template_static \
|
|
||||||
typedef_class \
|
|
||||||
typedef_inherit \
|
|
||||||
typedef_scope \
|
|
||||||
typemap_arrays \
|
|
||||||
typemap_delete \
|
|
||||||
typemap_namespace \
|
|
||||||
typemap_ns_using \
|
|
||||||
using1 \
|
|
||||||
using2 \
|
|
||||||
javascript_unicode
|
|
||||||
|
|
||||||
SMOKE_TESTS_ONLY=1
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(srcdir)/../common.mk
|
include $(srcdir)/../common.mk
|
||||||
|
|
||||||
_setup = \
|
_setup = \
|
||||||
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
|
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then \
|
||||||
echo "$(ACTION)ing testcase $* (with run test) under javascript ($(JSENGINE))" ; \
|
echo "$(ACTION)ing $(LANGUAGE) ($(JSENGINE)) testcase $* (with run test)" ; \
|
||||||
else \
|
else \
|
||||||
echo "$(ACTION)ing testcase $* under javascript ($(JSENGINE))" ; \
|
echo "$(ACTION)ing $(LANGUAGE) ($(JSENGINE)) testcase $*" ; \
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
ifneq (jsc,$(ENGINE))
|
ifneq (jsc,$(ENGINE))
|
||||||
|
|
||||||
# This test can not be run with v8 as it uses v8 API incompatible output typemaps
|
# This test can not be run with v8 as it uses v8 API incompatible output typemaps
|
||||||
typemap_variables.cpptest:
|
typemap_variables.cpptest:
|
||||||
echo "skipping testcase typemap_variables under javascript ($(JSENGINE))."
|
echo "skipping $(LANGUAGE) ($(JSENGINE)) testcase $*" ;
|
||||||
|
|
||||||
# with v8 we have to generate C++ wrappers only
|
# with v8 we have to generate C++ wrappers only
|
||||||
# these tests did raise warnings which are ignored
|
# these tests did raise warnings which are ignored
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue