From e1264181a0584f27624dc32e20b5cfb152d3afd5 Mon Sep 17 00:00:00 2001 From: Simon Marchetto Date: Mon, 26 Aug 2013 15:22:58 +0200 Subject: [PATCH] Scilab: disable configure cache at end of test-suite --- Examples/test-suite/scilab/Makefile.in | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/Examples/test-suite/scilab/Makefile.in b/Examples/test-suite/scilab/Makefile.in index 9f17c0721..f7a2f33af 100644 --- a/Examples/test-suite/scilab/Makefile.in +++ b/Examples/test-suite/scilab/Makefile.in @@ -15,8 +15,6 @@ top_builddir = @top_builddir@ # - member_pointer (C++) # - typemap_variables (C++) -include $(srcdir)/../common.mk - # configure cache to speed up test run CONF_CACHE=$(CURDIR)/test-suite.config.cache CONFIG_SITE=$(CURDIR)/test-suite.config.site @@ -25,10 +23,21 @@ export CONFIG_SITE enable_config_cache = \ echo 'cache_file=$(CONF_CACHE)' > $(CONFIG_SITE) +disable_config_cache: + rm -f $(CONF_CACHE) + rm -f $(CONFIG_SITE) + CONFIG_SITE= + # need reset cache before multicpptest reset_config_cache = \ rm -f $(CONF_CACHE) +# disable cache at the end of test-suite +# use trick for this: 'extra test cases' end target +EXTRA_TEST_CASES = disable_config_cache + +include $(srcdir)/../common.mk + # Rules for the different types of tests %.cpptest: $(setup)