]> git.saurik.com Git - bison.git/commit - tests/local.at
tests: skip C++ tests if we can't compile a simple program
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 3 Jul 2013 15:16:04 +0000 (17:16 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 3 Jul 2013 15:18:54 +0000 (17:18 +0200)
commitb7171c45f4eab4d06810d7e9617193cf62d08d38
treed250b0307d4908c12c04efc2cd67d50adb135495
parentac953ff80a6c243a941bdeeba6c05ea5f8c54c43
tests: skip C++ tests if we can't compile a simple program

There are possible conflicts between gnulib replacement functions (in
<stdio.h>) and their C++ wrappers (in <stream>).  Trying to address
these in configure seems too hard, and I don't know how to fix the issue
in gnulib.  Cowardly avoid the problem by skipping C++ tests when this
happens.
Reported by Stefano Lattarini.
http://lists.gnu.org/archive/html/bug-bison/2013-06/msg00001.html

* tests/atlocal.in (BISON_CXX_WORKS): Also set it to "skip" if we can't
compile a simple program using <stream>.
* tests/local.at: Comment changes.
tests/atlocal.in
tests/local.at