diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-08-19 18:09:25 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-08-19 18:09:25 +0200 |
commit | 7436d83ef371d4fee4a66bec235e102ed80275db (patch) | |
tree | 243b416b1b6e10a43b9495121af0e57522543de0 /src/unittest.cc | |
parent | e1030dc6e69863438fe35a628bd6af9abc814b4a (diff) |
Add support for msvc tool-chain (cl.exe/link.exe and lib.exe) on windows.
Diffstat (limited to 'src/unittest.cc')
-rw-r--r-- | src/unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unittest.cc b/src/unittest.cc index f18de47..5524ea5 100644 --- a/src/unittest.cc +++ b/src/unittest.cc @@ -7,6 +7,7 @@ #include "execute.h" #include "task.h" +#include "libctor.h" int runUnitTests(std::set<std::shared_ptr<Task>>& tasks, const Settings& settings) @@ -24,7 +25,7 @@ int runUnitTests(std::set<std::shared_ptr<Task>>& tasks, name = task->target(); } std::cout << name << ": " << std::flush; - auto ret = execute(task->targetFile(), {}, settings.verbose > 0); + auto ret = execute(task->targetFile().string(), {}, {}, settings.verbose > 0); ok &= ret == 0; if(ret == 0) { |