1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-29 15:41:13 +03:00

tests: Port most of the test suite to C

Use runtest.c from libxml2 as a starting point.

This finally allows us to run most of tests with CMake and Autotools
VPATH builds.
This commit is contained in:
Nick Wellnhofer
2022-09-07 16:43:06 +02:00
parent cc64f2a78b
commit 971d5c4dd1
327 changed files with 1142 additions and 1844 deletions

View File

@ -8,7 +8,7 @@ TESTSPY = \
exampledir = $(docdir)/python/examples
dist_example_DATA = test.xml test.xsl pyxsltproc.py $(TESTSPY)
tests: $(TESTSPY)
check-local: $(TESTSPY)
@(export PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH"; \
export LD_LIBRARY_PATH="$(top_builddir)/libxslt/.libs:$(top_builddir)/libexslt/.libs:$$LD_LIBRARY_PATH"; \
export DYLD_LIBRARY_PATH="$(top_builddir)/libxslt/.libs:$(top_builddir)/libexslt/.libs:$$DYLD_LIBRARY_PATH"; \
@ -23,8 +23,6 @@ tests: $(TESTSPY)
echo "-- $$test" ; \
$(PYTHON) $(srcdir)/$$test; \
done)
else
tests:
endif
CLEANFILES = *.pyc core