build: avoid clang's colored diagnostics in the test suite
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 30 Jan 2013 14:52:34 +0000 (15:52 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 30 Jan 2013 15:10:12 +0000 (16:10 +0100)
commitdf1ca1b0de2d99879f7b41e64d8bf285f163b1aa
treea1136daf08153b6b79d458bd947ac2fad8659058
parent1217688141e33e03112330a24ff352d9263ef7bc
build: avoid clang's colored diagnostics in the test suite

The syncline tests, which try to recognize compiler diagnostics,
are confused by escapes for colors.

* configure.ac (warn_tests): New, to factor the warnings for both
C and C++ tests.
Add -fno-color-diagnostics to it.
* tests/local.at (AT_TEST_TABLES_AND_PARSE): Do not remove glue
together compiler flags.
configure.ac
tests/local.at