Fri, 11 Mar 2022 03:29:48 -0600
Add an echo user to the demo protocol
Testing Done:
Opened a conversation and typed a few message.
Reviewed at https://reviews.imfreedom.org/r/1328/
PROGS = [ 'account_option', 'account_manager', 'circular_buffer', 'credential_manager', 'credential_provider', 'history_adapter', 'history_manager', 'image', 'keyvaluepair', 'markup', 'protocol_action', 'protocol_xfer', 'purplepath', 'queued_output_stream', 'trie', 'util', 'whiteboard_manager', 'xmlnode', ] test_ui = static_library( 'test-ui', 'test_ui.c', 'test_ui.h', c_args: [ '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()), '-DG_LOG_USE_STRUCTURED', '-DG_LOG_DOMAIN="Purple-TestUI"', ], dependencies: [libpurple_dep, glib] ) foreach prog : PROGS e = executable('test_' + prog, 'test_@0@.c'.format(prog), c_args : [ '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()) ], dependencies : [libpurple_dep, glib], link_with: test_ui, ) test(prog, e) endforeach