2020-09-05 16:02:16 -04:00
|
|
|
srcs += files('cookies.c', 'dialogs.c', 'path.c', 'parser.c')
|
|
|
|
|
2022-10-07 13:01:19 -04:00
|
|
|
exe = executable('cookies-t', 'cookies-t.c', 'path.c', include_directories:['..'], build_by_default:false)
|
2022-10-04 14:21:08 -04:00
|
|
|
test_lib = environment({'TEST_LIB': meson.source_root()+'/test/libtest.sh'})
|
|
|
|
t = find_program('test-cookies-t')
|
2022-10-07 13:01:19 -04:00
|
|
|
test('cookies', t, depends:[exe], env:test_lib, workdir:meson.current_build_dir())
|
2022-10-08 04:43:13 -04:00
|
|
|
|
|
|
|
parsetstdeps = files('parser.c', 'parsetst.c')
|
|
|
|
|
|
|
|
executable('parsetst', parsetstdeps, testdeps, c_args:['-DHAVE_CONFIG_H'], include_directories:['.', '..', '../..'])
|