From e047c360dcc5cbdc01ee19a1b755bb70d883e41c Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 4 Apr 2024 16:34:29 +0200 Subject: test: Add missing includes and fix deps --- test/buildtool/execution_engine/executor/TARGETS | 1 + test/buildtool/execution_engine/executor/executor.test.cpp | 6 ++++++ test/buildtool/execution_engine/executor/executor_api.test.hpp | 5 +++++ .../buildtool/execution_engine/executor/executor_api_local.test.cpp | 2 ++ 4 files changed, 14 insertions(+) (limited to 'test/buildtool/execution_engine/executor') diff --git a/test/buildtool/execution_engine/executor/TARGETS b/test/buildtool/execution_engine/executor/TARGETS index 896b7803..57ef9b44 100644 --- a/test/buildtool/execution_engine/executor/TARGETS +++ b/test/buildtool/execution_engine/executor/TARGETS @@ -18,6 +18,7 @@ , ["@", "src", "src/buildtool/progress_reporting", "progress"] , ["", "catch-main"] , ["@", "catch2", "", "catch2"] + , ["@", "gsl", "", "gsl"] ] , "stage": ["test", "buildtool", "execution_engine", "executor"] } diff --git a/test/buildtool/execution_engine/executor/executor.test.cpp b/test/buildtool/execution_engine/executor/executor.test.cpp index 72bd23bb..790e20ca 100644 --- a/test/buildtool/execution_engine/executor/executor.test.cpp +++ b/test/buildtool/execution_engine/executor/executor.test.cpp @@ -12,11 +12,17 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include +#include +#include +#include #include #include +#include #include #include "catch2/catch_test_macros.hpp" +#include "gsl/gsl" #include "src/buildtool/common/artifact_factory.hpp" #include "src/buildtool/common/repository_config.hpp" #include "src/buildtool/common/statistics.hpp" diff --git a/test/buildtool/execution_engine/executor/executor_api.test.hpp b/test/buildtool/execution_engine/executor/executor_api.test.hpp index 634cc38f..1ff50831 100644 --- a/test/buildtool/execution_engine/executor/executor_api.test.hpp +++ b/test/buildtool/execution_engine/executor/executor_api.test.hpp @@ -15,7 +15,12 @@ #ifndef INCLUDED_SRC_TEST_BUILDTOOL_EXECUTION_ENGINE_EXECUTOR_EXECUTOR_API_TEST_HPP #define INCLUDED_SRC_TEST_BUILDTOOL_EXECUTION_ENGINE_EXECUTOR_EXECUTOR_API_TEST_HPP +#include +#include #include +#include +#include +#include #include "catch2/catch_test_macros.hpp" #include "gsl/gsl" diff --git a/test/buildtool/execution_engine/executor/executor_api_local.test.cpp b/test/buildtool/execution_engine/executor/executor_api_local.test.cpp index 26d8993f..670a3fa7 100755 --- a/test/buildtool/execution_engine/executor/executor_api_local.test.cpp +++ b/test/buildtool/execution_engine/executor/executor_api_local.test.cpp @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include + #include "catch2/catch_test_macros.hpp" #include "src/buildtool/common/repository_config.hpp" #include "src/buildtool/common/statistics.hpp" -- cgit v1.2.3