tests: skip C++ tests that are too demanding for some compilers

Some tests now fail when compiled with G++ 4.3 or 4.4 on MacPorts.

* tests/local.at (AT_SKIP_IF_EXCEPTION_SUPPORT_IS_POOR): New.
* tests/c++.at (Exception safety): Use it.
This commit is contained in:
Akim Demaille
2013-10-23 15:04:15 +02:00
parent 265640d56e
commit 026816664f
2 changed files with 45 additions and 0 deletions

View File

@@ -655,6 +655,8 @@ AT_CLEANUP
m4_pushdef([AT_TEST],
[AT_SETUP([[Exception safety $1]])
AT_SKIP_IF_EXCEPTION_SUPPORT_IS_POOR
AT_BISON_OPTION_PUSHDEFS([%skeleton "lalr1.cc" $1])
AT_DATA_GRAMMAR([[input.yy]],