tests: Make sure to run python tests against the build in tree

This commit is contained in:
Thibault Saunier 2016-06-20 21:29:44 -04:00
parent 346f887553
commit 156eaecb28

View file

@ -128,9 +128,9 @@ coverage-report:
check:
if HAVE_NOSETESTS
if WITH_PYTHON
${NOSETESTS} --verbose $(top_srcdir)/tests/check/python/test_*.py
GI_TYPELIB_PATH=$(top_srcdir)/ges/:${GI_TYPELIB_PATH} LD_LIBRARY_PATH=$(top_srcdir)/ges/.libs:${LD_LIBRARY_PATH} ${NOSETESTS} --verbose $(top_srcdir)/tests/check/python/test_*.py
check-python:
${NOSETESTS} --verbose $(top_srcdir)/tests/check/python/test_*.py
GI_TYPELIB_PATH=$(top_srcdir)/ges/:${GI_TYPELIB_PATH} LD_LIBRARY_PATH=$(top_srcdir)/ges/.libs:${LD_LIBRARY_PATH} ${NOSETESTS} --verbose $(top_srcdir)/tests/check/python/test_*.py
endif
endif