summaryrefslogtreecommitdiff
path: root/src/unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittest.cc')
-rw-r--r--src/unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest.cc b/src/unittest.cc
index 9e85187..b95a931 100644
--- a/src/unittest.cc
+++ b/src/unittest.cc
@@ -24,7 +24,7 @@ int runUnitTests(std::vector<std::shared_ptr<Task>>& tasks,
name = task->target();
}
std::cout << name << ": " << std::flush;
- auto ret = execute(task->targetFile(), {}, {}, settings.verbose > 0);
+ auto ret = execute(settings, task->targetFile().string(), {}, {});
ok &= ret == 0;
if(ret == 0)
{