diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-07 18:06:57 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-09 22:20:31 +0200 |
commit | dafd592cf44c184f9d24e2216bbed5c23e4b23c2 (patch) | |
tree | e94ab4c49ec4486e3a8e91c04cbba73a221d54c7 /src/unittest.cc | |
parent | 80db51ae3f7d5fbfb52eee4505f615ea4edba62d (diff) |
Refactor the way task names are looked up.
Diffstat (limited to 'src/unittest.cc')
-rw-r--r-- | src/unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest.cc b/src/unittest.cc index d02e4f2..ab82ab9 100644 --- a/src/unittest.cc +++ b/src/unittest.cc @@ -20,7 +20,7 @@ int runUnitTests(std::set<std::shared_ptr<Task>>& tasks, if(task->targetType() == TargetType::UnitTest) { std::cout << task->name() << ": "; - auto ret = execute(task->target(), {}, false); + auto ret = execute(task->targetFile(), {}, false); ok &= ret == 0; if(ret == 0) { |