summaryrefslogtreecommitdiffstats
path: root/patches/libxml2-2.6.32/generic/libxml2-2.6.27-runtest_c-streamparsetest.diff
blob: bad75bd0298bd918d533ae2c79b315991ee41d0b (plain)
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
#
# Submitted-By: Marc Kleine-Budde, 2006-02-28
# Committed-By: Marc Kleine-Budde
#
# Error:
#
# if arm-softfloat-linux-gnu-gcc -DHAVE_CONFIG_H
# -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 -pedantic -W
# -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment
# -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses
# -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings
# -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
# -Wnested-externs -Winline -Wredundant-decls -MT runtest.o -MD -MP
# -MF ".deps/runtest.Tpo" -c -o runtest.o runtest.c; \ 
# then mv -f ".deps/runtest.Tpo" ".deps/runtest.Po"; else rm -f
# ".deps/runtest.Tpo"; exit 1; fi runtest.c:4182: error:
# 'streamParseTest' undeclared here (not in a function) make[3]: ***
# [runtest.o] Error 1
#
# Description: 
#
# try to compile a test, thats disabled by config
#
# State:
# 
# not commited, but should be :)
#
---
# runtest.c |    2 ++
# 1 file changed, 2 insertions(+)
#
Index: libxml2-2.6.32/runtest.c
===================================================================
--- libxml2-2.6.32.orig/runtest.c
+++ libxml2-2.6.32/runtest.c
@@ -4183,6 +4183,7 @@ testDesc testDescriptions[] = {
       errParseTest, "./test/XInclude/docs/*", "result/XInclude/", "", NULL,
       /* Ignore errors at this point ".err", */
       XML_PARSE_XINCLUDE },
+#ifdef LIBXML_READER_ENABLED
     { "XInclude xmlReader regression tests",
       streamParseTest, "./test/XInclude/docs/*", "result/XInclude/", ".rdr",
       /* Ignore errors at this point ".err", */
@@ -4196,6 +4197,7 @@ testDesc testDescriptions[] = {
       /* Ignore errors at this point ".err", */
       NULL, XML_PARSE_XINCLUDE | XML_PARSE_NOXINCNODE },
 #endif
+#endif
 #ifdef LIBXML_XPATH_ENABLED
 #ifdef LIBXML_DEBUG_ENABLED
     { "XPath expressions regression tests" ,