glib_dep,
gmodule_dep,
gobject_dep,
- gnutls_dep
-]
-
-cflags = [
- '-DSRCDIR="@0@"'.format(meson.current_source_dir()),
- '-DTOP_BUILDDIR="@0@"'.format(meson.build_root())
+ gnutls_dep,
+ openssl_dep
]
envs = [
test_conf = configuration_data()
test_conf.set('installed_tests_dir', installed_tests_execdir)
test_conf.set('program', program_name)
+ test_conf.set('environment', '')
if enable_installed_tests
configure_file(
)
endif
- test_cflags = cflags + [
+ test_cflags = [
'-DBACKEND="@0@"'.format(backend),
'-DBACKEND_IS_' + backend.to_upper(),
'-DSIZEOF_TIME_T=@0@'.format(cc.sizeof('time_t', prefix: '#include <time.h>')),
)
test_envs = envs + [
- 'GIO_MODULE_DIR=' + join_paths(meson.build_root(), 'tls', backend),
+ 'GIO_MODULE_DIR=' + join_paths(meson.project_build_root(), 'tls', backend),
'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir())
]