summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2019-02-12 13:08:03 +0100
committerTomas Krizek <tomas.krizek@nic.cz>2019-03-12 10:43:27 +0100
commit76ad88d0cf23d284f18863a6881378ba573ffa98 (patch)
tree1d4ebdb206582f26b9c88917ee6c843c8b79bca5 /tests
parentmeson: remove moduledir (diff)
downloadknot-resolver-76ad88d0cf23d284f18863a6881378ba573ffa98.tar.xz
knot-resolver-76ad88d0cf23d284f18863a6881378ba573ffa98.zip
meson: use c_args instead of setting global compiler options
Diffstat (limited to 'tests')
-rw-r--r--tests/pytests/meson.build2
-rw-r--r--tests/unit/meson.build1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/pytests/meson.build b/tests/pytests/meson.build
index 2e228609..80b5a1b2 100644
--- a/tests/pytests/meson.build
+++ b/tests/pytests/meson.build
@@ -6,7 +6,6 @@ tlsproxy_src = [
]
# compile tlsproxy
-# TODO fix or silence compilation warnings
tlsproxy = executable(
'tlsproxy',
tlsproxy_src,
@@ -15,6 +14,7 @@ tlsproxy = executable(
libuv,
gnutls,
],
+ c_args: c_args,
)
# python 3 dependencies
diff --git a/tests/unit/meson.build b/tests/unit/meson.build
index 43ca7675..d05e6b0e 100644
--- a/tests/unit/meson.build
+++ b/tests/unit/meson.build
@@ -27,6 +27,7 @@ foreach unit_test : unit_tests
cmocka,
lmdb,
],
+ c_args: c_args,
)
test(
'unit.' + unit_test[0],