aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-10-12 17:58:20 +0200
committerKenny Levinsen <kl@kl.wtf>2020-10-12 18:02:00 +0200
commite0945eb840f4b179f03eab781b9452f8faabab21 (patch)
treee6d432cfd2da5ea2638aa43b5eae5255db252b4c /meson.build
parent29ba210958c23a2a406d43f554b87dc1961af6e2 (diff)
connection: Add unittest
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 1ab3d87..a1c758c 100644
--- a/meson.build
+++ b/meson.build
@@ -203,6 +203,15 @@ test(
)
)
+test(
+ 'connection',
+ executable(
+ 'connection_test',
+ ['common/connection.c', 'tests/connection.c'],
+ include_directories: [include_directories('.', 'include')],
+ )
+)
+
scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7', native: true)
if scdoc.found()