- Adding StdOutLogger and adding tests for DAG execution to verify it works.

- Roughing in FileSystemLogger
- Deleting Scheduler code and associated unit tests as being too complicated for maintenance.
- Refactoring namespaces for loggers and executors.
This commit is contained in:
Ian Roddis
2021-08-09 14:59:23 -03:00
parent 6a2c2ddb9a
commit a8e85f8feb
21 changed files with 382 additions and 217 deletions

View File

@@ -1,12 +1,12 @@
#include <iostream>
#include <filesystem>
#include "daggy/executors/ForkingTaskExecutor.hpp"
#include "daggy/executors/task/ForkingTaskExecutor.hpp"
#include "catch.hpp"
TEST_CASE("Basic Execution", "[forking_executor]") {
daggy::executor::ForkingTaskExecutor ex(10);
daggy::executors::task::ForkingTaskExecutor ex(10);
SECTION("Simple Run") {
std::vector<std::string> cmd{"/usr/bin/echo", "abc", "123"};