mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
parent
05135536b1
commit
6c4ea468b2
@ -62,7 +62,8 @@ if WITH_PYTHON
|
||||
check-local:
|
||||
@for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done
|
||||
@echo "## running Python regression tests"
|
||||
@(export LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
|
||||
@(export PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; \
|
||||
export LD_LIBRARY_PATH="$(top_builddir)/.libs:$$LD_LIBRARY_PATH" ; \
|
||||
export DYLD_LIBRARY_PATH="$(top_builddir)/.libs:$$DYLD_LIBRARY_PATH" ; \
|
||||
export PATH="$(top_builddir)/.libs:$$PATH" ; \
|
||||
for test in $(PYTESTS) ; do \
|
||||
|
@ -1,7 +1,5 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path += ('..', '../.libs')
|
||||
|
||||
if hasattr(os, 'add_dll_directory'):
|
||||
os.add_dll_directory(os.path.join(os.getcwd(), '..', '..', '.libs'))
|
||||
|
Loading…
Reference in New Issue
Block a user