From d0f2ba0ab15e63aa3511218a837eb6f057632ace Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 14 Mar 2024 16:21:55 +0100 Subject: Clean up more includes and targets Some of the more specific issues addressed: - missing log_level target/include - header-only libs wrongly marking deps as private - missing/misplaced gsl includes --- test/buildtool/file_system/TARGETS | 4 ++++ test/buildtool/file_system/file_system_manager.test.cpp | 2 ++ test/buildtool/file_system/git_repo.test.cpp | 2 ++ 3 files changed, 8 insertions(+) (limited to 'test/buildtool/file_system') diff --git a/test/buildtool/file_system/TARGETS b/test/buildtool/file_system/TARGETS index 4c8a0d76..d7101454 100644 --- a/test/buildtool/file_system/TARGETS +++ b/test/buildtool/file_system/TARGETS @@ -7,6 +7,8 @@ [ ["@", "catch2", "", "catch2"] , ["", "catch-main"] , ["@", "src", "src/buildtool/file_system", "file_system_manager"] + , ["@", "src", "src/buildtool/logging", "log_level"] + , ["@", "src", "src/buildtool/logging", "logging"] ] , "stage": ["test", "buildtool", "file_system"] } @@ -103,6 +105,8 @@ , ["@", "json", "", "json"] , ["@", "src", "src/buildtool/file_system", "file_system_manager"] , ["@", "src", "src/buildtool/file_system", "git_repo"] + , ["@", "src", "src/buildtool/logging", "log_level"] + , ["@", "src", "src/buildtool/logging", "logging"] , ["@", "src", "src/utils/cpp", "atomic"] , ["utils", "shell_quoting"] ] diff --git a/test/buildtool/file_system/file_system_manager.test.cpp b/test/buildtool/file_system/file_system_manager.test.cpp index 8b1ac5c8..18068aec 100644 --- a/test/buildtool/file_system/file_system_manager.test.cpp +++ b/test/buildtool/file_system/file_system_manager.test.cpp @@ -23,6 +23,8 @@ #include "catch2/catch_test_macros.hpp" #include "catch2/generators/catch_generators_all.hpp" #include "src/buildtool/file_system/file_system_manager.hpp" +#include "src/buildtool/logging/log_level.hpp" +#include "src/buildtool/logging/logger.hpp" class CopyFileFixture { public: diff --git a/test/buildtool/file_system/git_repo.test.cpp b/test/buildtool/file_system/git_repo.test.cpp index 26ebd8ce..53658b44 100644 --- a/test/buildtool/file_system/git_repo.test.cpp +++ b/test/buildtool/file_system/git_repo.test.cpp @@ -18,6 +18,8 @@ #include "nlohmann/json.hpp" #include "src/buildtool/file_system/file_system_manager.hpp" #include "src/buildtool/file_system/git_repo.hpp" +#include "src/buildtool/logging/log_level.hpp" +#include "src/buildtool/logging/logger.hpp" #include "src/utils/cpp/atomic.hpp" #include "test/utils/shell_quoting.hpp" -- cgit v1.2.3