X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libs%2Fmath%2Ftest%2Fpowm1_sqrtp1m1_test.cpp;h=fa01f35857a1019dace24ac234238cbb72738868;hb=08c1e93fa36a49f49325a07fe91ff92c964c2b6c;hp=cdbb9f8f656744c3bb3e2f0e962e5e6aa629ab93;hpb=bb4dd8289b351fae6b55e303f189127a394a1edd;p=platform%2Fupstream%2Fboost.git diff --git a/libs/math/test/powm1_sqrtp1m1_test.cpp b/libs/math/test/powm1_sqrtp1m1_test.cpp index cdbb9f8..fa01f35 100644 --- a/libs/math/test/powm1_sqrtp1m1_test.cpp +++ b/libs/math/test/powm1_sqrtp1m1_test.cpp @@ -6,7 +6,8 @@ #include #include -#include +#define BOOST_TEST_MAIN +#include #include #include #include @@ -55,7 +56,7 @@ void expected_results() << BOOST_STDLIB << ", " << BOOST_PLATFORM << std::endl; } -int test_main(int, char* []) +BOOST_AUTO_TEST_CASE( test_main ) { expected_results(); BOOST_MATH_CONTROL_FP; @@ -72,7 +73,6 @@ int test_main(int, char* []) "not available at all, or because they are too inaccurate for these tests " "to pass." << std::cout; #endif - return 0; }