diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-03-27 19:34:20 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-03-27 19:34:20 +0100 |
commit | 5cc4591ae77416d8f8be23fa7d5a622eba5e8240 (patch) | |
tree | 5dc24e4e19daa77f28c881b83107eab7013caba3 /Makefile.in | |
parent | 27d6f5c2fef0abe43208cbb6a2f4f11e1e144881 (diff) | |
download | swig-5cc4591ae77416d8f8be23fa7d5a622eba5e8240.tar.gz |
Consistent cpp11 testing in test-suite
Move HAVE_CXX11 into makefiles so that running test-suite
from top level directory or in the language's test-suite directory
is consistent. For example, running 'make check-java-test-suite'
behaves the same as 'cd Examples/test-suite/java && make check'.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 6edfc240a..f4cb794d8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -29,7 +29,6 @@ TARGET = $(TARGET_NOEXE)@EXEEXT@ SOURCE = Source CCACHE = CCache DOCS = Doc/Manual -HAVE_CXX11 = @HAVE_CXX11@ swig: libfiles source ccache @@ -249,7 +248,7 @@ check-%-test-suite: echo warning: cannot $(ACTION) $* test-suite "(no dir $$dir)";\ else \ echo $(ACTION)ing $* test-suite; \ - (cd $$dir && $(MAKE) $(FLAGS) $(ACTION) HAVE_CXX11=$(HAVE_CXX11)) \ + (cd $$dir && $(MAKE) $(FLAGS) $(ACTION)) \ || passed=false; \ fi; \ test $$passed = true |