From 179c5baaa2b24be61f65daad0e4d415914af4c71 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 28 Dec 2017 22:55:50 +0100 Subject: Add support for tests in a package where type is executable --- tests/src/function.cpp | 6 ++++++ tests/src/main.cpp | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 tests/src/function.cpp create mode 100644 tests/src/main.cpp (limited to 'tests/src') diff --git a/tests/src/function.cpp b/tests/src/function.cpp new file mode 100644 index 0000000..5f14f33 --- /dev/null +++ b/tests/src/function.cpp @@ -0,0 +1,6 @@ +#include "catch2/0.1.0/catch.hpp" + +TEST_CASE("dummy") +{ + +} diff --git a/tests/src/main.cpp b/tests/src/main.cpp new file mode 100644 index 0000000..d29d915 --- /dev/null +++ b/tests/src/main.cpp @@ -0,0 +1,2 @@ +#define CATCH_CONFIG_MAIN +#include "catch2/0.1.0/catch.hpp" -- cgit v1.2.3