aboutsummaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-28 22:55:50 +0100
committerdec05eba <dec05eba@protonmail.com>2017-12-28 22:56:34 +0100
commit179c5baaa2b24be61f65daad0e4d415914af4c71 (patch)
treeaff81e8c9b158bfe44789305012aa06ec951b482 /tests/src
parent9ffe3db21297192b0f26929e74327487905ad444 (diff)
Add support for tests in a package where type is executable
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/function.cpp6
-rw-r--r--tests/src/main.cpp2
2 files changed, 8 insertions, 0 deletions
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"