summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/source_type_test.cc2
-rw-r--r--test/tasks_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/source_type_test.cc b/test/source_type_test.cc
index 657260e..90e77cf 100644
--- a/test/source_type_test.cc
+++ b/test/source_type_test.cc
@@ -39,7 +39,7 @@ class TestableTaskCC
{
public:
TestableTaskCC(const ctor::source& source)
- : TaskCC({}, {}, "build", source)
+ : TaskCC(ctor::target_type::object, {}, {}, "build", source)
{}
ctor::language language() const
diff --git a/test/tasks_test.cc b/test/tasks_test.cc
index cbd0864..1276347 100644
--- a/test/tasks_test.cc
+++ b/test/tasks_test.cc
@@ -72,7 +72,7 @@ public:
const ctor::settings& settings,
const std::string& name, bool dirty,
const std::vector<std::string>& deps = {})
- : Task(config, settings, {})
+ : Task(ctor::target_type::executable, config, settings, {})
, task_name(name)
, task_dirty(dirty)
, task_deps(deps)