1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-03 03:56:32 -04:00
elinks/src/cookies/meson.build
Witold Filipczyk a801578d27 [tests] fixes
2022-10-08 11:05:15 +02:00

11 lines
531 B
Meson

srcs += files('cookies.c', 'dialogs.c', 'path.c', 'parser.c')
exe = executable('cookies-t', 'cookies-t.c', 'path.c', include_directories:['..'], build_by_default:false)
test_lib = environment({'TEST_LIB': meson.source_root()+'/test/libtest.sh'})
t = find_program('test-cookies-t')
test('cookies', t, depends:[exe], env:test_lib, workdir:meson.current_build_dir())
parsetstdeps = files('parser.c', 'parsetst.c')
executable('parsetst', parsetstdeps, testdeps, c_args:['-DHAVE_CONFIG_H'], include_directories:['.', '..', '../..'])