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