summaryrefslogtreecommitdiff
path: root/test/buildtool/main
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/buildtool/main
parent65fc11ff28e6dd29a95391b6700a02d277b539c6 (diff)
downloadjustbuild-e047c360dcc5cbdc01ee19a1b755bb70d883e41c.tar.gz
test: Add missing includes and fix deps
Diffstat (limited to 'test/buildtool/main')
-rw-r--r--test/buildtool/main/TARGETS1
-rw-r--r--test/buildtool/main/install_cas.test.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/buildtool/main/TARGETS b/test/buildtool/main/TARGETS
index 084fcb8e..a8f7541d 100644
--- a/test/buildtool/main/TARGETS
+++ b/test/buildtool/main/TARGETS
@@ -5,6 +5,7 @@
, "private-deps":
[ ["@", "catch2", "", "catch2"]
, ["", "catch-main"]
+ , ["@", "src", "src/buildtool/common", "common"]
, ["@", "src", "src/buildtool/main", "install_cas"]
]
, "stage": ["test", "buildtool", "main"]
diff --git a/test/buildtool/main/install_cas.test.cpp b/test/buildtool/main/install_cas.test.cpp
index 6929d446..4d6ef0b8 100644
--- a/test/buildtool/main/install_cas.test.cpp
+++ b/test/buildtool/main/install_cas.test.cpp
@@ -13,6 +13,7 @@
// limitations under the License.
#include "catch2/catch_test_macros.hpp"
+#include "src/buildtool/common/artifact.hpp"
#include "src/buildtool/main/install_cas.hpp"
TEST_CASE("ObjectInfoFromLiberalString", "[artifact]") {