summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/buildtool/TARGETS1
-rw-r--r--test/buildtool/file_system/TARGETS15
-rw-r--r--test/buildtool/system/TARGETS13
-rw-r--r--test/buildtool/system/system_command.test.cpp (renamed from test/buildtool/file_system/system_command.test.cpp)2
4 files changed, 17 insertions, 14 deletions
diff --git a/test/buildtool/TARGETS b/test/buildtool/TARGETS
index 3e70f462..a07928af 100644
--- a/test/buildtool/TARGETS
+++ b/test/buildtool/TARGETS
@@ -11,6 +11,7 @@
, [["./", "graph_traverser", "TESTS"], "graph_traverser"]
, [["./", "logging", "TESTS"], "logging"]
, [["./", "multithreading", "TESTS"], "multithreading"]
+ , [["./", "system", "TESTS"], "system"]
]
}
}
diff --git a/test/buildtool/file_system/TARGETS b/test/buildtool/file_system/TARGETS
index fdb2296d..c7fe3bda 100644
--- a/test/buildtool/file_system/TARGETS
+++ b/test/buildtool/file_system/TARGETS
@@ -10,17 +10,6 @@
]
, "stage": ["test", "buildtool", "file_system"]
}
-, "system_command":
- { "type": ["@", "rules", "CC/test", "test"]
- , "name": ["system_command"]
- , "srcs": ["system_command.test.cpp"]
- , "deps":
- [ ["@", "catch2", "", "catch2"]
- , ["test", "catch-main"]
- , ["src/buildtool/file_system", "system_command"]
- ]
- , "stage": ["test", "buildtool", "file_system"]
- }
, "git_tree":
{ "type": ["@", "rules", "CC/test", "test"]
, "name": ["git_tree"]
@@ -57,6 +46,6 @@
, "TESTS":
{ "type": "install"
, "tainted": ["test"]
- , "deps": ["file_root", "file_system_manager", "git_tree", "system_command"]
+ , "deps": ["file_root", "file_system_manager", "git_tree"]
}
-} \ No newline at end of file
+}
diff --git a/test/buildtool/system/TARGETS b/test/buildtool/system/TARGETS
new file mode 100644
index 00000000..97101bae
--- /dev/null
+++ b/test/buildtool/system/TARGETS
@@ -0,0 +1,13 @@
+{ "system_command":
+ { "type": ["@", "rules", "CC/test", "test"]
+ , "name": ["system_command"]
+ , "srcs": ["system_command.test.cpp"]
+ , "deps":
+ [ ["@", "catch2", "", "catch2"]
+ , ["test", "catch-main"]
+ , ["src/buildtool/system", "system_command"]
+ ]
+ , "stage": ["test", "buildtool", "system"]
+ }
+, "TESTS": {"type": "install", "tainted": ["test"], "deps": ["system_command"]}
+}
diff --git a/test/buildtool/file_system/system_command.test.cpp b/test/buildtool/system/system_command.test.cpp
index 81b4e2b6..6b3777ee 100644
--- a/test/buildtool/file_system/system_command.test.cpp
+++ b/test/buildtool/system/system_command.test.cpp
@@ -2,7 +2,7 @@
#include <iostream>
#include "catch2/catch.hpp"
-#include "src/buildtool/file_system/system_command.hpp"
+#include "src/buildtool/system/system_command.hpp"
namespace {
[[nodiscard]] auto GetTestDir() -> std::filesystem::path {