1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

Simplify 'make check' targets

This commit is contained in:
Nick Wellnhofer
2022-04-04 05:19:33 +02:00
parent f60e219325
commit 3f74e42bae
4 changed files with 17 additions and 28 deletions

View File

@@ -51,6 +51,3 @@ all-local: drv_libxml2.py libxml2.py
$(GENERATED): $(srcdir)/generator.py $(API_DESC)
$(PYTHON) $(srcdir)/generator.py $(srcdir)
endif
tests test: all
cd tests && $(MAKE) tests

View File

@@ -59,7 +59,7 @@ XMLS= \
CLEANFILES = core tmp.xml *.pyc
if WITH_PYTHON
tests: $(PYTESTS)
check-local:
@for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done
@echo "## running Python regression tests"
@(export PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; \
@@ -73,6 +73,4 @@ tests: $(PYTESTS)
exit 1 ; \
fi ; \
done)
else
tests:
endif