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:
@ -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
|
||||
|
Reference in New Issue
Block a user