File: disable_test.patch

package info (click to toggle)
gxml 0.20.4%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,364 kB
  • sloc: xml: 131,277; ansic: 786; javascript: 328; python: 88; makefile: 35; sh: 11
file content (87 lines) | stat: -rw-r--r-- 2,513 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
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 ([