[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/9] tests: remove obsolete checks
From: |
Akim Demaille |
Subject: |
[PATCH 3/9] tests: remove obsolete checks |
Date: |
Thu, 12 Aug 2021 10:18:26 +0200 |
* tests/atlocal.in: It was an error for tests to depend on gnulib:
they must not, as gnulib would hide portability issues that we want to
catch. So this piece of code is no longer useful, and must not be
useful.
---
tests/atlocal.in | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/tests/atlocal.in b/tests/atlocal.in
index d5f31cbb..3481d22b 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -62,32 +62,6 @@ fi
: ${CXX17_CXXFLAGS='@CXX17_CXXFLAGS@'}
: ${CXX2A_CXXFLAGS='@CXX2A_CXXFLAGS@'}
-# Be sure that the C++ compiler is not broken because of gnulib. This
-# cannot be checked in configure (gnulib is not parameterized yet),
-# and checking this in every C++ test in AC_COMPILE_CXX is too costly.
-#
-# https://lists.gnu.org/r/bug-bison/2013-06/msg00001.html
-#
-# FIXME: Check (say 2014) whether this is still needed.
-if $BISON_CXX_WORKS; then
- # See AT_DATA_SOURCE_PROLOGUE.
- cat >conftest.cc <<EOF
-#include <testsuite.h>
-#include <iostream>
-
-int main ()
-{
- std::cout << "Works\n";
-}
-EOF
- $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS $LIBS -o conftest conftest.cc
- case $? in
- 0);;
- *) BISON_CXX_WORKS="as_fn_error 77 cannot-compile-simple-program";;
- esac
- rm -fr conftest*
-fi
-
# Whether the compiler supports POSIXLY_CORRECT defined.
: ${C_COMPILER_POSIXLY_CORRECT='@C_COMPILER_POSIXLY_CORRECT@'}
: ${CXX_COMPILER_POSIXLY_CORRECT='@CXX_COMPILER_POSIXLY_CORRECT@'}
--
2.32.0
- [PATCH 0/9] Various fixes for the tests, Akim Demaille, 2021/08/12
- [PATCH 1/9] c: fix _Noreturn support detection, Akim Demaille, 2021/08/12
- [PATCH 2/9] tests: be robust to old versions of xlstproc, Akim Demaille, 2021/08/12
- [PATCH 3/9] tests: remove obsolete checks,
Akim Demaille <=
- [PATCH 4/9] build: check for C++ 20 and 2b, Akim Demaille, 2021/08/12
- [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/12
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/12
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/13
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/13
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/17
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/17
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/17
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Akim Demaille, 2021/08/19
- Re: [PATCH 5/9] build: reject C++ compilers that don't support std::vector::data, Hans Åberg, 2021/08/19