diff --git a/tests/local.at b/tests/local.at index 3317b1da..56f8e11a 100644 --- a/tests/local.at +++ b/tests/local.at @@ -881,7 +881,7 @@ int fortytwo () AT_COMPILE([c-only.o], [c-only.c]) AT_COMPILE_CXX([cxx-only.o], [cxx-only.cc]) AT_CHECK([$CXX $CXXFLAGS $CPPFLAGS $LDFLAGS c-only.o cxx-only.o -o c-and-cxx || - exit 77], [ignore], [ignore]) + exit 77], [0], [ignore], [ignore]) AT_PARSER_CHECK([./c-and-cxx]) ]) diff --git a/tests/synclines.at b/tests/synclines.at index 45bac3c0..fb1b6725 100644 --- a/tests/synclines.at +++ b/tests/synclines.at @@ -391,6 +391,17 @@ m4_pushdef([AT_TEST], [AT_SETUP([syncline escapes: $1]) AT_BISON_OPTION_PUSHDEFS([%skeleton "$1"]) + +# ICC is unable to handle these file names: it fails to pass them +# properly to the linker, and is unable to save a file named this way. +# Don't try with such compilers. +AT_DATA([\"\\\"\".c], +[[int main() { return 0; } +]]) + +AT_CHECK([AT_SKEL_CC_IF([$CXX $CXXFLAGS], [$CC $CFLAGS]) $CPPFLAGS \"\\\"\".c -o \"\\\"\" || + exit 77], [0], [ignore], [ignore]) + AT_DATA_GRAMMAR([\"\\\"\".y], [[%skeleton "$1" %code {