diff options
Diffstat (limited to 'test/ctor.cc')
-rw-r--r-- | test/ctor.cc | 28 |
1 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); |