pidgin/tests/meson.build

Sun, 03 Nov 2024 00:05:44 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Sun, 03 Nov 2024 00:05:44 -0500
changeset 43045
308e8d0ce68c
parent 42837
1f1614e5468b
permissions
-rw-r--r--

remove purple3-url-handler.desktop.in.in

The application that did the launching was removed long ago. Also this should
be implemented by the user interfaces and they might provide separate files to
groups schemas as well.

Testing Done:
Called in the turtles.

Reviewed at https://reviews.imfreedom.org/r/3640/

BROADWAY_TESTS = [
]

TEST_WRAPPER = find_program('./test-wrapper.py', required: true)
BROADWAYD = find_program('gtk4-broadwayd', required: false)

testenv.set('XDG_CONFIG_HOME', meson.current_build_dir() / 'config')

if BROADWAYD.found()
	foreach program : BROADWAY_TESTS
		e = executable(f'test_@program@', f'test_@program@.c',
		               c_args : ['-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()),
		                         '-DTEST_CACHE_DIR="@0@/cache"'.format(meson.current_build_dir())],
		               dependencies : [libpurple_dep, libpidgin_dep, glib, gtk])
		test(program, TEST_WRAPPER,
		     args : [BROADWAYD.full_path(), e],
		     is_parallel : false,
		     env: testenv)
	endforeach
endif

mercurial