From 2dc08dd0a75f1ad68bf7f721fe99a36ca443c13a Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Sat, 3 Mar 2018 13:11:12 +0100 Subject: [PATCH] include config.h in all unit tests in some it was already included, so let's fix that inconsistency The Right Way (TM). --- tests/test_OpmLog.cpp | 2 ++ tests/test_SimulationDataContainer.cpp | 1 + tests/test_cmp.cpp | 1 + tests/test_cubic.cpp | 2 +- tests/test_messagelimiter.cpp | 2 ++ 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/test_OpmLog.cpp b/tests/test_OpmLog.cpp index 3b36662cb..9fbf53c4e 100644 --- a/tests/test_OpmLog.cpp +++ b/tests/test_OpmLog.cpp @@ -17,6 +17,8 @@ along with OPM. If not, see . */ +#include + #define BOOST_TEST_MODULE LogTests #include diff --git a/tests/test_SimulationDataContainer.cpp b/tests/test_SimulationDataContainer.cpp index b23177895..9b6474dda 100644 --- a/tests/test_SimulationDataContainer.cpp +++ b/tests/test_SimulationDataContainer.cpp @@ -17,6 +17,7 @@ along with OPM. If not, see . */ +#include #define BOOST_TEST_MODULE SIMULATION_DATA_CONTAINER_TESTS #include diff --git a/tests/test_cmp.cpp b/tests/test_cmp.cpp index e23a634c6..c23b62705 100644 --- a/tests/test_cmp.cpp +++ b/tests/test_cmp.cpp @@ -17,6 +17,7 @@ along with OPM. If not, see . */ +#include #define BOOST_TEST_MODULE FLOAT_CMP_TESTS #include diff --git a/tests/test_cubic.cpp b/tests/test_cubic.cpp index 075bc1514..5210e7d4f 100644 --- a/tests/test_cubic.cpp +++ b/tests/test_cubic.cpp @@ -34,7 +34,7 @@ along with OpenRS. If not, see . */ -#include "config.h" +#include #define NVERBOSE // Suppress own messages when throw()ing diff --git a/tests/test_messagelimiter.cpp b/tests/test_messagelimiter.cpp index 3f1aa714b..3059089bd 100644 --- a/tests/test_messagelimiter.cpp +++ b/tests/test_messagelimiter.cpp @@ -17,6 +17,8 @@ along with OPM. If not, see . */ +#include + #define BOOST_TEST_MODULE MESSAGELIMITER_TESTS #include