summaryrefslogtreecommitdiff
path: root/test/buildtool/graph_traverser
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-05-22 11:51:06 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-05-24 16:00:11 +0200
commitdc2cc2d18381ab7bbef5bbce17736f5252b5da6c (patch)
tree1770725d29d32303cafd71d7929e3bbd59ed8b3c /test/buildtool/graph_traverser
parentd4396683860b5aed391a336692bacae71e1007cd (diff)
downloadjustbuild-dc2cc2d18381ab7bbef5bbce17736f5252b5da6c.tar.gz
Split off tests into a separate logical repository
This allows better separation and, in particular, repositories needed only for tests do not have to be provided for building the tools. This also better documents which dependencies are only needed for testing.
Diffstat (limited to 'test/buildtool/graph_traverser')
-rw-r--r--test/buildtool/graph_traverser/TARGETS20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/buildtool/graph_traverser/TARGETS b/test/buildtool/graph_traverser/TARGETS
index db9d532e..22a8cc79 100644
--- a/test/buildtool/graph_traverser/TARGETS
+++ b/test/buildtool/graph_traverser/TARGETS
@@ -4,11 +4,11 @@
, "hdrs": ["graph_traverser.test.hpp"]
, "deps":
[ ["@", "catch2", "", "catch2"]
- , ["src/buildtool/common", "common"]
- , ["src/buildtool/file_system", "file_system_manager"]
- , ["src/buildtool/file_system", "jsonfs"]
- , ["src/buildtool/graph_traverser", "graph_traverser"]
- , ["test/utils", "test_env"]
+ , ["@", "src", "src/buildtool/common", "common"]
+ , ["@", "src", "src/buildtool/file_system", "file_system_manager"]
+ , ["@", "src", "src/buildtool/file_system", "jsonfs"]
+ , ["@", "src", "src/buildtool/graph_traverser", "graph_traverser"]
+ , ["utils", "test_env"]
]
, "stage": ["test", "buildtool", "graph_traverser"]
}
@@ -20,26 +20,26 @@
, "private-deps":
[ "graph_traverser_tests"
, ["@", "catch2", "", "catch2"]
- , ["test", "catch-main"]
- , ["test/utils", "local_hermeticity"]
+ , ["", "catch-main"]
+ , ["utils", "local_hermeticity"]
]
, "stage": ["test", "buildtool", "graph_traverser"]
}
, "graph_traverser_remote":
- { "type": ["test/utils/remote_execution", "CC test"]
+ { "type": ["utils/remote_execution", "CC test"]
, "name": ["graph_traverser_remote"]
, "srcs": ["graph_traverser_remote.test.cpp"]
, "data": ["test_data"]
, "private-deps":
[ "graph_traverser_tests"
, ["@", "catch2", "", "catch2"]
- , ["test/utils", "catch-main-remote-execution"]
+ , ["utils", "catch-main-remote-execution"]
]
, "stage": ["test", "buildtool", "graph_traverser"]
}
, "test_data":
{ "type": ["@", "rules", "data", "staged"]
- , "srcs": [["TREE", "test/buildtool/graph_traverser", "data"]]
+ , "srcs": [["TREE", null, "data"]]
, "stage": ["test", "buildtool", "graph_traverser"]
}
, "TESTS":