Add std_interop_test to msvc solution. Add cout message indicating whether or not inter-operation will be tested.

This commit is contained in:
Beman
2017-06-03 08:22:04 -04:00
parent 47b4e4e7c2
commit 9087c92cc7
3 changed files with 179 additions and 2 deletions
+9 -1
View File
@@ -15,7 +15,12 @@
#if defined(BOOST_NO_CXX11_HDR_SYSTEM_ERROR)
int main() {}
int main()
{
std::cout
<< "The version of the C++ standard library being used does not"
" support header <system_error> so interoperation will not be tested.\n";
}
#else
@@ -349,6 +354,9 @@ static void test_user2_category()
int main()
{
std::cout
<< "The version of the C++ standard library being used"
" supports header <system_error> so interoperation will be tested.\n";
test_generic_category();
test_system_category();
test_user_category();