mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
tests: run the C++ tests on all the available standards
This is much of course more efficient than in the matrix of the CI (or on our own machines), but a bit more tedious. * configure.ac (CXX03_CXXFLAGS, CXX11_CXXFLAGS, CXX14_CXXFLAGS) (CXX17_CXXFLAGS, CXX2A_CXXFLAGS, STDCXX_FLAGS): New. * tests/atlocal.in: Receive them. * tests/local.at (AT_FOR_EACH_CXX): New. * tests/c++.at: Use AT_FOR_EACH_CXX.
This commit is contained in:
@@ -55,7 +55,9 @@ fi
|
||||
: ${NO_EXCEPTIONS_CXXFLAGS='@NO_EXCEPTIONS_CXXFLAGS@'}
|
||||
|
||||
# Requiring a specific C++ standard.
|
||||
: ${CXX98_CXXFLAGS='@CXX98_CXXFLAGS@'}
|
||||
: ${CXX11_CXXFLAGS='@CXX11_CXXFLAGS@'}
|
||||
: ${STDCXX_FLAGS='@STDCXX_FLAGS@'}
|
||||
|
||||
# Be sure that the C++ compiler is not broken because of gnulib. This
|
||||
# cannot be checked in configure (gnulib is not parameterized yet),
|
||||
|
||||
Reference in New Issue
Block a user