X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/72cd9a913f6d282c5e24990505c2c820bda2bf1b..9553083c729070877095948ba2d48553690ac9e9:/tests/atlocal.in diff --git a/tests/atlocal.in b/tests/atlocal.in index 7e4f2e28..315e98ed 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -29,9 +29,11 @@ CPPFLAGS="-I$abs_top_builddir/lib @CPPFLAGS@" # Is the compiler GCC? GCC='@GCC@' -# We want no optimization. - O0CFLAGS=`echo '@CFLAGS@' | sed 's/-O[0-9] *//'` -O0CXXFLAGS=`echo '@CXXFLAGS@' | sed 's/-O[0-9] *//'` +# We want no optimization, as they uncover warnings (therefore, +# failures) about uninitialized variables in the test suite. FIXME: +# fix the warnings, not the flags. + O0CFLAGS=`echo '@CFLAGS@' | sed 's/-O[0-9s] *//g'` +O0CXXFLAGS=`echo '@CXXFLAGS@' | sed 's/-O[0-9s] *//g'` # Sometimes a test group needs to ignore gcc warnings, so it locally # sets CFLAGS to this. @@ -73,8 +75,9 @@ CONF_JAVA='@CONF_JAVA@' # Empty if no xsltproc was found : ${XSLTPROC='@XSLTPROC@'} -# We need egrep. +# We need egrep and perl. : ${EGREP='@EGREP@'} +: ${PERL='@PERL@'} # Use simple quotes (lib/quote.c). LC_CTYPE=C