diff --git a/src/cookies/meson.build b/src/cookies/meson.build index 4a713dfc0..b6c864d54 100644 --- a/src/cookies/meson.build +++ b/src/cookies/meson.build @@ -3,4 +3,4 @@ srcs += files('cookies.c', 'dialogs.c', 'path.c', 'parser.c') executable('cookies-t', 'cookies-t.c', 'path.c', include_directories:['..']) test_lib = environment({'TEST_LIB': meson.source_root()+'/test/libtest.sh'}) t = find_program('test-cookies-t') -test('cookies', t, env: test_lib, workdir: meson.current_source_dir()) +test('cookies', t, env: test_lib, workdir: meson.current_build_dir()) diff --git a/src/mime/backend/meson.build b/src/mime/backend/meson.build index da79363d0..054774bc8 100644 --- a/src/mime/backend/meson.build +++ b/src/mime/backend/meson.build @@ -11,5 +11,6 @@ endif srcs += files('common.c', 'default.c') executable('mailcap-cache', 'common.c', 'mailcap.c', meson.source_root()+'/src/osdep/osdep.c', testdeps, c_args:['-DHAVE_CONFIG_H', '-DTEST_MAILCAP'], include_directories:['.','..','../..','../../..']) +test_lib = environment({'TEST_LIB': meson.source_root()+'/test/libtest.sh'}) t = find_program('test-mailcap-cache') -test('mailcap-cache', t, env: test_lib, workdir: meson.current_source_dir()) +test('mailcap-cache', t, env: test_lib, workdir: meson.current_build_dir())