mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[tests] Small fixes
This commit is contained in:
parent
ed6ec6ae2e
commit
5d28a98a03
@ -3,4 +3,4 @@ srcs += files('cookies.c', 'dialogs.c', 'path.c', 'parser.c')
|
|||||||
executable('cookies-t', 'cookies-t.c', 'path.c', include_directories:['..'])
|
executable('cookies-t', 'cookies-t.c', 'path.c', include_directories:['..'])
|
||||||
test_lib = environment({'TEST_LIB': meson.source_root()+'/test/libtest.sh'})
|
test_lib = environment({'TEST_LIB': meson.source_root()+'/test/libtest.sh'})
|
||||||
t = find_program('test-cookies-t')
|
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())
|
||||||
|
@ -11,5 +11,6 @@ endif
|
|||||||
srcs += files('common.c', 'default.c')
|
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:['.','..','../..','../../..'])
|
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')
|
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())
|
||||||
|
Loading…
Reference in New Issue
Block a user