mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
[tests] normalize-uri
This commit is contained in:
parent
0163dea440
commit
9a677dc5f5
@ -33,3 +33,5 @@ if conf_data.get('CONFIG_DATA')
|
||||
srcs += files('data.c')
|
||||
endif
|
||||
srcs += files('about.c', 'common.c', 'date.c', 'header.c', 'protocol.cpp', 'proxy.c', 'uri.c', 'user.c')
|
||||
|
||||
subdir('test')
|
||||
|
25
src/protocol/test/meson.build
Normal file
25
src/protocol/test/meson.build
Normal file
@ -0,0 +1,25 @@
|
||||
idna_dep = dependency('libidn')
|
||||
executable('uri-test', 'uri-test.c', 'stub.c', meson.current_source_dir()+'/../protocol.cpp', meson.current_source_dir()+'/../uri.c',
|
||||
meson.source_root()+'/src/intl/gettext/bindtextdom.c',
|
||||
meson.source_root()+'/src/intl/gettext/dcgettext.c',
|
||||
meson.source_root()+'/src/intl/gettext/dcigettext.c',
|
||||
meson.source_root()+'/src/intl/gettext/dcngettext.c',
|
||||
meson.source_root()+'/src/intl/gettext/dgettext.c',
|
||||
meson.source_root()+'/src/intl/gettext/dngettext.c',
|
||||
meson.source_root()+'/src/intl/gettext/explodename.c',
|
||||
meson.source_root()+'/src/intl/gettext/finddomain.c',
|
||||
meson.source_root()+'/src/intl/gettext/gettext.c',
|
||||
meson.source_root()+'/src/intl/gettext/intl-compat.c',
|
||||
meson.source_root()+'/src/intl/gettext/l10nflist.c',
|
||||
meson.source_root()+'/src/intl/gettext/libintl.c',
|
||||
meson.source_root()+'/src/intl/gettext/loadmsgcat.c',
|
||||
meson.source_root()+'/src/intl/gettext/localcharset.c',
|
||||
meson.source_root()+'/src/intl/gettext/localealias.c',
|
||||
meson.source_root()+'/src/intl/gettext/ngettext.c',
|
||||
meson.source_root()+'/src/intl/gettext/plural.c',
|
||||
meson.source_root()+'/src/intl/gettext/textdomain.c',
|
||||
testdeps, dependencies: [idna_dep],
|
||||
c_args:['-DHAVE_CONFIG_H'], cpp_args:['-DHAVE_CONFIG_H'], include_directories:['.', '..', '../..', '../../..', '../../../..'])
|
||||
t = find_program('test-normalize-uri')
|
||||
test_lib = environment({'TEST_LIB': meson.source_root()+'/test/libtest.sh'})
|
||||
test('normalize-uri', t, env: test_lib, workdir: meson.current_build_dir())
|
@ -51,6 +51,7 @@ STUB_MODULE(file_protocol_module);
|
||||
STUB_MODULE(finger_protocol_module);
|
||||
STUB_MODULE(fsp_protocol_module);
|
||||
STUB_MODULE(ftp_protocol_module);
|
||||
STUB_MODULE(gemini_protocol_module);
|
||||
STUB_MODULE(gopher_protocol_module);
|
||||
STUB_MODULE(http_protocol_module);
|
||||
STUB_MODULE(nntp_protocol_module);
|
||||
@ -87,6 +88,7 @@ STUB_PROTOCOL_HANDLER(file_protocol_handler);
|
||||
STUB_PROTOCOL_HANDLER(finger_protocol_handler);
|
||||
STUB_PROTOCOL_HANDLER(fsp_protocol_handler);
|
||||
STUB_PROTOCOL_HANDLER(ftp_protocol_handler);
|
||||
STUB_PROTOCOL_HANDLER(gemini_protocol_handler);
|
||||
STUB_PROTOCOL_HANDLER(gopher_protocol_handler);
|
||||
STUB_PROTOCOL_HANDLER(http_protocol_handler);
|
||||
STUB_PROTOCOL_HANDLER(news_protocol_handler);
|
||||
|
Loading…
Reference in New Issue
Block a user