Revision 27df5b73
b/Makefile.am | ||
---|---|---|
1148 | 1148 |
test/py/import-export_unittest-helper |
1149 | 1149 |
|
1150 | 1150 |
|
1151 |
if PY_NODEV |
|
1152 |
python_tests= |
|
1153 |
else |
|
1151 | 1154 |
python_tests = \ |
1152 | 1155 |
doc/examples/rapi_testutils.py \ |
1153 | 1156 |
test/py/cfgupgrade_unittest.py \ |
... | ... | |
1228 | 1231 |
test/py/pycurl_reset_unittest.py \ |
1229 | 1232 |
test/py/qa.qa_config_unittest.py \ |
1230 | 1233 |
test/py/tempfile_fork_unittest.py |
1234 |
endif |
|
1231 | 1235 |
|
1232 | 1236 |
haskell_tests = test/hs/htest |
1233 | 1237 |
|
b/configure.ac | ||
---|---|---|
776 | 776 |
AC_PYTHON_MODULE(pycurl, t) |
777 | 777 |
AC_PYTHON_MODULE(bitarray, t) |
778 | 778 |
AC_PYTHON_MODULE(ipaddr, t) |
779 |
AC_PYTHON_MODULE(yaml, t) |
|
780 | 779 |
AC_PYTHON_MODULE(affinity) |
781 | 780 |
AC_PYTHON_MODULE(paramiko) |
782 | 781 |
|
782 |
# Development-only Python modules |
|
783 |
PY_NODEV= |
|
784 |
AC_PYTHON_MODULE(yaml) |
|
785 |
if test $HAVE_PYMOD_YAML == "no"; then |
|
786 |
PY_NODEV="$PY_NODEV yaml" |
|
787 |
fi |
|
788 |
|
|
789 |
if test -n "$PY_NODEV"; then |
|
790 |
AC_MSG_WARN(m4_normalize([Required development modules ($PY_NODEV) were not |
|
791 |
found, you won't be able to run Python unittests])) |
|
792 |
else |
|
793 |
AC_MSG_NOTICE([Python development modules found, unittests enabled]) |
|
794 |
fi |
|
795 |
AC_SUBST(PY_NODEV) |
|
796 |
AM_CONDITIONAL([PY_NODEV], [test -n $PY_NODEV]) |
|
797 |
|
|
783 | 798 |
AC_CONFIG_FILES([ Makefile ]) |
784 | 799 |
|
785 | 800 |
AC_OUTPUT |
Also available in: Unified diff