summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2017-04-23 15:13:03 +0200
committerJens Georg <mail@jensge.org>2018-08-17 17:01:10 +0200
commit5387b4d3b82dd587590b8038f44f51f843517bd5 (patch)
tree1a0cdae961b992c0148f8a5d898ebdc405902771 /tests
parent5c2bc6f41616b7e0621eb4042a2c287afb0675e8 (diff)
downloadgssdp-5387b4d3b82dd587590b8038f44f51f843517bd5.tar.gz
meson: Add tests
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
new file mode 100644
index 0000000..6c0a60f
--- /dev/null
+++ b/tests/meson.build
@@ -0,0 +1,18 @@
+test_deps = [glib_dep, gobject_dep, gio_dep]
+
+functional = executable('test-functional',
+ ['test-functional.c', 'test-util.c'],
+ dependencies : test_deps,
+ include_directories : include_directories('..'),
+ link_with: libgssdp
+ )
+regression = executable('test-regression',
+ ['test-regression.c', 'test-util.c'],
+ dependencies : test_deps,
+ include_directories : include_directories('..'),
+ link_with: libgssdp
+ )
+
+# Cannot run tests in parallel because both would do UPnP on localhost
+test('Functional test', functional, is_parallel: false)
+test('Bug regression test', regression, is_parallel: false)