GNOME Bugzilla – Bug 752203
`make check` fails in "runTests.py": No module named unittest_support
Last modified: 2018-06-29 23:41:48 UTC
On Debian "testing" `make check` fails in "runTests.py" due to unknown module "unittest_support". "src/optional/python-bindings/tests/runTests.py.log" contains: ~~~~ Traceback (most recent call last):
+ Trace 235246
from test_split import TestSplit
from unittest_support import *
~~~~ I can't find "unittest_support" anywhere. Any hints please?
Are you trying to build maint or master branch? Have you looked in src/test-core/ ?
I'm building v2.6.7. I had a look into `src/test-core/` but could not find "unittest_support" Python module there. Please advise.
It's a built file, so it should be in ${top_builddir}/src/test-core. If it isn't something's gone wrong with your build and you need to examine that.
Nope, I'm mistaken: It's a built file only if BUILD_FROM_VCS is enabled and it's not included in distfiles. Guess you're the first person ever to try to run make check with --enable-python from the tarball, it's been that way since before 2.5.
Thanks, John. We did not encounter this problem earlier because until yesterday Debian package was not running "make check" tests... :( Nice to be the first one who tried but a little scary too. :)
This problem has been fixed in our software repository. The fix will go into the next software release. For 2.6.7 you can either ignore the problem like you have for the previous 7 releases or you can SWIG src/test-core to build it.
Nice. I just want to note that I was not ignoring the problem for 7 releases -- I was unaware of it. Besides is always useful when you can mention changeset ID. ;)
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=752203. Please update any external references or bookmarks.