diff options
Diffstat (limited to 'cpp/src/tests/unit_test.cpp')
-rw-r--r-- | cpp/src/tests/unit_test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/tests/unit_test.cpp b/cpp/src/tests/unit_test.cpp index aed6f6a4af..00c61242e4 100644 --- a/cpp/src/tests/unit_test.cpp +++ b/cpp/src/tests/unit_test.cpp @@ -16,7 +16,8 @@ * */ -#define BOOST_AUTO_TEST_MAIN // Must come before #include<boost/test/*> -#include <boost/test/auto_unit_test.hpp> - // Defines test_main function to link with actual unit test code. +#define BOOST_AUTO_TEST_MAIN // Boost 1.33 +#define BOOST_TEST_MAIN +#include "unit_test.h" + |