test_xml_include: no test wo Libxml2
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 27 May 2011 10:50:07 +0000 (12:50 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 27 May 2011 10:50:07 +0000 (12:50 +0200)
test/test_xml_include.c

index 7934b5e..a61455c 100644 (file)
@@ -15,6 +15,7 @@
 
 static void tst_xml_include(void)
 {
+#if YAZ_HAVE_XML2
     const char *srcdir = getenv("srcdir");
     xmlDocPtr doc;
     xmlNodePtr node;
@@ -59,6 +60,7 @@ static void tst_xml_include(void)
         }
     }
     xmlFreeDoc(doc);
+#endif
 }