From ed419140280553b070943b7ba539120a26ff5686 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 11 Dec 2018 07:42:05 +0100 Subject: wanda: restructure directory hierarchy --- tests/wanda/core_driver.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/wanda/core_driver.cpp (limited to 'tests/wanda/core_driver.cpp') diff --git a/tests/wanda/core_driver.cpp b/tests/wanda/core_driver.cpp new file mode 100644 index 0000000..3643da0 --- /dev/null +++ b/tests/wanda/core_driver.cpp @@ -0,0 +1,18 @@ +#include "test_suite_xdg.hpp" + +#include "cute/cute.h" +#include "cute/cute_runner.h" +#include "cute/tap_listener.h" + +#include +#include +#include +#include + +int main(int argc, char const *const *argv) +{ + auto listener = cute::tap_listener<>{std::cout}; + auto runner = cute::makeRunner(listener, argc, argv); + auto suites = std::vector>{wanda::test_suite_xdg()}; + return !all_of(cbegin(suites), cend(suites), [&](auto const &suite) { return runner(suite.first, suite.second.c_str()); }); +} \ No newline at end of file -- cgit v1.2.3