components/libxml2/patches/system-test.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Fri, 19 Jun 2015 04:22:33 -0700
changeset 4530 57e1c0fb4585
permissions -rw-r--r--
21287299 libxml2 master test results and system test support

Patch origin: in-house
Patch status: submitted to upstream

https://bugzilla.gnome.org/show_bug.cgi?id=751205

--- libxml2-2.9.2/Makefile.am
+++ libxml2-2.9.2/Makefile.am
@@ -211,6 +211,13 @@
 
 check: all runtests
 
+# It will use libxml2 installed on system only when there is no one in
+# .libs/ directory (which could be used via LD_LIBRARY_PATH).
+system-test:
+	$(MAKE) runtest testrecurse testapi testchar testdict runxmlconf DEPS= LDADDS=-lxml2
+	$(MAKE) runtests PYTHON_SUBDIR=
+	cd python/tests; $(MAKE) tests
+
 check-valgrind valgrind: all
 	@echo '## Running the regression tests under Valgrind'
 	@echo '## Go get a cup of coffee it is gonna take a while ...'