From: =?utf-8?q?Jeremy_B=C3=ADcha?= <jbicha@ubuntu.com>
Date: Mon, 26 Jan 2026 14:35:26 -0500
Subject: Disable non-working tests

The html and xhtml tests are disabled because we don't have
the required test files because of
https://gitlab.gnome.org/GNOME/gxml/-/issues/54

The serialization test probably needs to be updated to build
with newer versions of libxml

Forwarded: no
---
 test/meson.build | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/test/meson.build b/test/meson.build
index d904fb0..5900d97 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -18,18 +18,18 @@ xtdomdoc = executable('xdocument', files_xdomdoc + configvapi + configtestvapi,
 
 test ('xdocument', xtdomdoc)
 
-files_xhtmldoc = files ([
-		'XHtmlDocumentTest.vala',
-	])
+#files_xhtmldoc = files ([
+#		'XHtmlDocumentTest.vala',
+#	])
 
-xthtmldoc = executable('htmlxdocument', files_xhtmldoc + configvapi + configtestvapi,
-	vala_args : [],
-	c_args: tests_cargs,
-	dependencies : [ libgxml_deps, inc_libh_dep, testdirs_dep, inc_rooth_dep],
-	link_with: libgxml
-)
+#xthtmldoc = executable('htmlxdocument', files_xhtmldoc + configvapi + configtestvapi,
+#	vala_args : [],
+#	c_args: tests_cargs,
+#	dependencies : [ libgxml_deps, inc_libh_dep, testdirs_dep, inc_rooth_dep],
+#	link_with: libgxml
+#)
 
-test ('htmlxdocument', xthtmldoc)
+#test ('htmlxdocument', xthtmldoc)
 
 files_xelement = files ([
 		'XElementTest.vala',
@@ -107,7 +107,7 @@ tserialization = executable('serialization', files_serialization_tests + configv
 	link_with: libgxml
 )
 
-test ('serialization', tserialization)
+#test ('serialization', tserialization)
 
 files_css_tests = files ([
 		'CssSelectorTest.vala',
@@ -123,18 +123,18 @@ tcss = executable('css', files_css_tests + configvapi + configtestvapi,
 test ('css', tcss)
 
 
-html_tests = files ([
-		'HtmlDocumentTest.vala',
-	])
+#html_tests = files ([
+#		'HtmlDocumentTest.vala',
+#	])
 
-thtml = executable('html', html_tests + configvapi + configtestvapi,
-	vala_args : [],
-	c_args: tests_cargs,
-	dependencies : [ libgxml_deps, inc_libh_dep, testdirs_dep, inc_rooth_dep],
-	link_with: libgxml
-)
+#thtml = executable('html', html_tests + configvapi + configtestvapi,
+#	vala_args : [],
+#	c_args: tests_cargs,
+#	dependencies : [ libgxml_deps, inc_libh_dep, testdirs_dep, inc_rooth_dep],
+#	link_with: libgxml
+#)
 
-test ('html', thtml)
+#test ('html', thtml)
 
 if get_option('experimental')
 stream_tests = files ([
