From 8e3c7d3548ebb343b6df91522ea52235ea0614de Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 29 Dec 2005 23:22:28 +0000 Subject: [PATCH] Add in better support for creating one off test cases that require special commandline options to swig. These custom tests can be created to easily test particular swig commandline options. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8120 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/common.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Examples/test-suite/common.mk b/Examples/test-suite/common.mk index 026737649..fd23dc89a 100644 --- a/Examples/test-suite/common.mk +++ b/Examples/test-suite/common.mk @@ -18,6 +18,8 @@ # b) Define rules for %.ctest, %.cpptest, %.multicpptest and %.clean. # c) Define srcdir, top_srcdir and top_builddir (these are the # equivalent to configure's variables of the same name). +# 3) One off special commandline options can be achieved by adding a +# test case to CUSTOM_TEST_CASES and defining rules to run and test. # # The variables below can be overridden after including this makefile ####################################################################### @@ -141,6 +143,7 @@ CPP_TEST_CASES += \ extend_placement \ extend_template \ extend_template_ns \ + extend_variable \ extern_namespace \ extern_throws \ features \ @@ -155,7 +158,6 @@ CPP_TEST_CASES += \ inherit_same_name \ inherit_void_arg \ inline_initializer \ - intermediary_classname \ kind \ langobj \ li_attribute \ @@ -383,7 +385,8 @@ MULTI_CPP_TEST_CASES += \ NOT_BROKEN_TEST_CASES = $(CPP_TEST_CASES:=.cpptest) \ $(C_TEST_CASES:=.ctest) \ - $(MULTI_CPP_TEST_CASES:=.multicpptest) + $(MULTI_CPP_TEST_CASES:=.multicpptest) \ + $(CUSTOM_TEST_CASES:=.customtest) BROKEN_TEST_CASES = $(CPP_TEST_BROKEN:=.cpptest) \ $(C_TEST_BROKEN:=.ctest) @@ -391,6 +394,7 @@ BROKEN_TEST_CASES = $(CPP_TEST_BROKEN:=.cpptest) \ ALL_CLEAN = $(CPP_TEST_CASES:=.clean) \ $(C_TEST_CASES:=.clean) \ $(MULTI_CPP_TEST_CASES:=.clean) \ + $(CUSTOM_TEST_CASES:=.clean) \ $(CPP_TEST_BROKEN:=.clean) \ $(C_TEST_BROKEN:=.clean)