--- a/meson.build Thu Sep 03 20:11:57 2020 -0500
+++ b/meson.build Sat Sep 05 23:29:15 2020 -0500
@@ -45,10 +45,6 @@
HELP2MAN = find_program('help2man')
- XVFB_RUN = find_program('xvfb-run')
###############################################################################
###############################################################################
--- a/packaging/debian/control Thu Sep 03 20:11:57 2020 -0500
+++ b/packaging/debian/control Sat Sep 05 23:29:15 2020 -0500
@@ -3,8 +3,9 @@
Maintainer: Gary Kramlich <grim@reaperworld.com>
Build-Depends: debhelper-compat (=12),
- meson, libglib2.0-dev, libgtk-3-dev,
- gettext, help2man, xvfb,
+ libgtk-3-dev, libgtk-3-bin, libgspell-1-dev, libgladeui-dev,
libgumbo-dev, libcmark-dev,
--- a/talkatu/tests/meson.build Thu Sep 03 20:11:57 2020 -0500
+++ b/talkatu/tests/meson.build Sat Sep 05 23:29:15 2020 -0500
@@ -21,6 +21,6 @@
'talkatutesthtmlparser.c',
dependencies : [talkatu_dep, GLIB]
+test('html-parser', TEST_WRAPPER, args : e, is_parallel : false) --- a/talkatu/tests/test-wrapper.py Thu Sep 03 20:11:57 2020 -0500
+++ b/talkatu/tests/test-wrapper.py Sat Sep 05 23:29:15 2020 -0500
@@ -20,29 +20,25 @@
wrapping it with xvfb-run if necessary.
- needed = ['linux', 'freebsd']
- if sys.platform.startswith(need):
- platform = sys.platform
+ broadwayd = subprocess.Popen(['broadwayd'])
+ # run the unit test but set the GDK_BACKEND envvar to broadway + env = {**os.environ, 'GDK_BACKEND': 'broadway'}
- cmd = ['xvfb-run', '-a'] + cmd
+ proc = subprocess.run(args=sys.argv[1:], env=env) - proc = subprocess.run(args=cmd)
+ # return the exit code of the unit test sys.exit(proc.returncode)