Use build time config to filter tests.

This commit is contained in:
Kohei Takahashi
2017-03-11 14:45:07 +09:00
parent 1ec001888d
commit 2952fd254f
5 changed files with 26 additions and 45 deletions

View File

@ -6,9 +6,10 @@
// at http://www.boost.org/LICENSE_1_0.txt)
//
#include <boost/config.hpp>
#ifdef BOOST_NO_CXX11_HDR_ARRAY
int main() {}
#else
# error "does not meet requirements"
#endif
#ifdef BOOST_MSVC
#pragma warning(disable:4180)
@ -46,4 +47,3 @@ int main()
return boost::report_errors();
}
#endif