1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-17 15:14:35 -04:00

[tests] Small fixes

This commit is contained in:
Witold Filipczyk 2022-10-05 14:41:58 +02:00
parent ed6ec6ae2e
commit 5d28a98a03
2 changed files with 3 additions and 2 deletions

View File

@ -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())

View File

@ -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())