summaryrefslogtreecommitdiff
path: root/test/end-to-end/just-mr
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-04-04 16:34:29 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-04-08 15:19:50 +0200
commite047c360dcc5cbdc01ee19a1b755bb70d883e41c (patch)
tree446072ded32f88c1e77d047d27f9fbde6e1825be /test/end-to-end/just-mr
parent65fc11ff28e6dd29a95391b6700a02d277b539c6 (diff)
downloadjustbuild-e047c360dcc5cbdc01ee19a1b755bb70d883e41c.tar.gz
test: Add missing includes and fix deps
Diffstat (limited to 'test/end-to-end/just-mr')
-rw-r--r--test/end-to-end/just-mr/TARGETS1
-rw-r--r--test/end-to-end/just-mr/create_test_archives.cpp5
2 files changed, 6 insertions, 0 deletions
diff --git a/test/end-to-end/just-mr/TARGETS b/test/end-to-end/just-mr/TARGETS
index a5219153..a1bb74b6 100644
--- a/test/end-to-end/just-mr/TARGETS
+++ b/test/end-to-end/just-mr/TARGETS
@@ -24,6 +24,7 @@
, "srcs": ["create_test_archives.cpp"]
, "private-deps":
[ ["@", "src", "src/buildtool/file_system", "file_system_manager"]
+ , ["@", "src", "src/buildtool/file_system", "object_type"]
, ["@", "src", "src/buildtool/logging", "log_level"]
, ["@", "src", "src/buildtool/logging", "logging"]
, ["@", "src", "src/utils/archive", "archive_ops"]
diff --git a/test/end-to-end/just-mr/create_test_archives.cpp b/test/end-to-end/just-mr/create_test_archives.cpp
index 93f3f3e7..c860c872 100644
--- a/test/end-to-end/just-mr/create_test_archives.cpp
+++ b/test/end-to-end/just-mr/create_test_archives.cpp
@@ -12,9 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include <cstdlib>
+#include <optional>
+#include <string>
#include <unordered_map>
+#include <utility> // std::pair
#include "src/buildtool/file_system/file_system_manager.hpp"
+#include "src/buildtool/file_system/object_type.hpp"
#include "src/buildtool/logging/log_config.hpp"
#include "src/buildtool/logging/log_level.hpp"
#include "src/buildtool/logging/log_sink_cmdline.hpp"