diff options
Diffstat (limited to 'test/ctor.cc')
-rw-r--r-- | test/ctor.cc | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/test/ctor.cc b/test/ctor.cc index aed3ee5..caa00ee 100644 --- a/test/ctor.cc +++ b/test/ctor.cc @@ -1,4 +1,4 @@ -#include "libctor.h" +#include <libctor.h> namespace { @@ -19,7 +19,21 @@ BuildConfigurations ctorTestConfigs() "-I../src", "-Iuunit", "-DOUTPUT=\"execute\"", }, - } + }, + { + .type = TargetType::UnitTest, + .target = "tasks_test", + .sources = { + "tasks_test.cc", + "uunit/uunit.cc", + }, + .depends = {"libctor.a"}, + .cxxflags = { + "-std=c++17", "-O3", "-s", "-Wall", "-Werror", + "-I../src", "-Iuunit", + "-DOUTPUT=\"tasks\"", + }, + }, }; } } |