1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[tests] parse-meta-refresh ok

This commit is contained in:
Witold Filipczyk 2022-10-04 21:23:31 +02:00
parent bf227da993
commit f468d07ce7
3 changed files with 6 additions and 1 deletions

View File

@ -880,6 +880,9 @@ configure_file(input : 'config2.h.in',
output : 'config.h', output : 'config.h',
configuration : conf_data) configuration : conf_data)
testdeps = files('src/intl/charsets.c', 'src/intl/width.c', 'src/osdep/stub.c', 'src/util/conv.c', 'src/util/error.c', 'src/util/fastfind.c',
'src/util/file.c', 'src/util/hash.c', 'src/util/memory.c', 'src/util/string.c', 'src/util/time.c')
subdir('po') subdir('po')
subdir('src') subdir('src')
subdir('contrib') subdir('contrib')

View File

@ -1,3 +1,3 @@
subdir('parser') subdir('parser')
#test subdir('test')
srcs += files('frames.c', 'iframes.c', 'parse-meta-refresh.c', 'parser.c', 'renderer.c', 'tables.c') srcs += files('frames.c', 'iframes.c', 'parse-meta-refresh.c', 'parser.c', 'renderer.c', 'tables.c')

View File

@ -0,0 +1,2 @@
t = executable('parse-meta-refresh-test', 'parse-meta-refresh-test.c', testdeps, meson.current_source_dir() + '/../parse-meta-refresh.c', c_args:['-DHAVE_CONFIG_H'], include_directories:['.', '..', '../..', '../../..', '../../../..'])
test('parse-meta-refresh', t)