summaryrefslogtreecommitdiff
path: root/src/unittest.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2024-12-08 11:49:43 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2024-12-08 12:13:37 +0100
commit6cc2e195700e6ce02c04160c0c93af6d325d89d7 (patch)
tree87f76acebf73498d0fab528e043ea84ca1f8b863 /src/unittest.cc
parent87997f6285fdba420c00e740d26f98f7e7e06504 (diff)
Call execute with full settings.execute_with_env
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)
{