diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ctor.cc | 28 | ||||
m--------- | test/uunit | 0 |
2 files changed, 28 insertions, 0 deletions
diff --git a/test/ctor.cc b/test/ctor.cc new file mode 100644 index 0000000..aed3ee5 --- /dev/null +++ b/test/ctor.cc @@ -0,0 +1,28 @@ +#include "libctor.h" + +namespace +{ +BuildConfigurations ctorTestConfigs() +{ + return + { + { + .type = TargetType::UnitTest, + .target = "execute_test", + .sources = { + "execute_test.cc", + "uunit/uunit.cc", + "../src/execute.cc", + }, + .cxxflags = { + "-std=c++17", "-O3", "-s", "-Wall", "-Werror", + "-I../src", "-Iuunit", + "-DOUTPUT=\"execute\"", + }, + } + }; +} +} + +// Convenience macro +REG(ctorTestConfigs); diff --git a/test/uunit b/test/uunit new file mode 160000 +Subproject fd83de802d05a227cc00489f66ea70fccb4dda0 |