Generalized smoke test configuration.

This commit is contained in:
Oliver Buchtala 2014-03-06 06:30:36 +01:00
commit b5aa1df72b
2 changed files with 26 additions and 20 deletions

View file

@ -97,8 +97,11 @@ CPP_TEST_BROKEN += \
C_TEST_BROKEN += \
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)
ifndef SKIP_CPP_CASES
CPP_TEST_CASES += \
abstract_access \
abstract_inherit \
@ -490,7 +493,11 @@ CPP_TEST_CASES += \
voidtest \
wallkw \
wrapmacro
endif
endif #SMOKE_TESTS_ONLY
ifndef SMOKE_TESTS_ONLY
# C++11 test cases.
CPP11_TEST_CASES = \
@ -527,8 +534,12 @@ CPP11_TEST_CASES = \
# cpp11_result_of \ # SWIG does not support
# cpp11_strongly_typed_enumerations \ # SWIG not quite getting this right yet in all langs
endif # SMOKE_TESTS_ONLY
# Broken C++11 test cases.
CPP11_TEST_BROKEN =
CPP11_TEST_BROKEN =
ifndef SMOKE_TESTS_ONLY
#
# Put all the heavy STD/STL cases here, where they can be skipped if needed
@ -554,17 +565,18 @@ CPP_STD_TEST_CASES += \
template_opaque
# li_std_list
endif # SMOKE_TESTS_ONLY
ifndef SKIP_CPP_STD_CASES
CPP_TEST_CASES += ${CPP_STD_TEST_CASES}
endif
ifneq (,$(HAVE_CXX11_COMPILER))
CPP_TEST_CASES += $(CPP11_TEST_CASES)
endif
ifndef SMOKE_TESTS_ONLY
# C test cases. (Can be run individually using: make testcase.ctest)
ifndef SKIP_C_CASES
C_TEST_CASES += \
arrays \
bom_utf8 \
@ -615,10 +627,12 @@ C_TEST_CASES += \
typemap_subst \
union_parameter \
unions
endif
endif # SMOKE_TESTS_ONLY
ifndef SMOKE_TESTS_ONLY
# Multi-module C++ test cases . (Can be run individually using make testcase.multicpptest)
ifndef SKIP_MULTI_CPP_CASES
MULTI_CPP_TEST_CASES += \
clientdata_prop \
imports \
@ -627,7 +641,8 @@ MULTI_CPP_TEST_CASES += \
mod \
template_typedef_import \
multi_import
endif
endif # SMOKE_TESTS_ONLY
# Custom tests - tests with additional commandline options
wallkw.cpptest: SWIGOPT += -Wallkw