Let's make the tests also compile with boost 1.33 (auto_unit_test.hpp is
[platform/upstream/libzypp.git] / tests / zypp / MediaSetAccess_test.cc
index 151c0e0..921fbaa 100644 (file)
@@ -1,6 +1,9 @@
 #include <stdio.h>
 #include <iostream>
-#include <boost/test/unit_test.hpp>
+#ifdef BOOST_AUTO_TEST_MAIN
+#undef BOOST_AUTO_TEST_MAIN
+#endif
+#include <boost/test/auto_unit_test.hpp>
 #include <boost/test/parameterized_test.hpp>
 #include <boost/test/unit_test_log.hpp>