Merge pull request #1430 from atgeirr/fix-boost-dyn-link

Leave BOOST_TEST_DYN_LINK setting to the build system.
This commit is contained in:
Atgeirr Flø Rasmussen 2018-03-09 14:12:09 +01:00 committed by GitHub
commit cef255b212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,7 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#include <config.h>
#if HAVE_DYNAMIC_BOOST_TEST && HAVE_MPI
#define BOOST_TEST_DYN_LINK
#if HAVE_MPI
#define BOOST_TEST_MODULE BlackoilAmgTest
#define BOOST_TEST_NO_MAIN
#include <boost/test/unit_test.hpp>
@ -327,4 +326,4 @@ int main(int argc, char** argv)
}
#else
int main () { return 0; }
#endif // #if HAVE_DYNAMIC_BOOST_TEST
#endif // #if HAVE_MPI