1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-17 07:46:03 +00:00

tests: don't special case tests needing FOR_TESTING define

This was introduced in 649da75 and was in preparation for the
sip testing code from 030313d and 21abfb4.
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-04-06 12:07:14 +02:00
parent a44c265903
commit 3fd07c4dee

View file

@ -13,13 +13,11 @@ test_env = [
test_cflags = [
'-fPIE',
'-DFOR_TESTING',
'-Wno-error=deprecated-declarations',
'-DPLUGIN_BUILDDIR="@0@"'.format(full_calls_plugin_builddir),
]
test_cflags_with_test_define = test_cflags
test_cflags_with_test_define += [ '-DFOR_TESTING' ]
test_link_args = [
'-fPIC',
]
@ -47,7 +45,7 @@ foreach test : tests
t = executable(name, test_sources,
calls_sources,
dummy_sources,
c_args : test_cflags_with_test_define,
c_args : test_cflags,
link_args: test_link_args,
link_with : calls_vala,
dependencies: calls_deps,