Re: Running ctest on Linux
Timofei Zhakov <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.devel |
|---|---|
| Message-ID | <CAPD1kXS78PJF7NF4k6cCfqyLfF_w2MQVyuRPQ7cTWxZrOXwBpw@mail.gmail.com> |
On Sun, Jul 19, 2026 at 1:07 AM Daniel Sahlberg <[email protected]> wrote: > Hi, > > I'm sure I'm doing something wrong but I can't figure out what. > > svn_trunk2 is a regular checkout of trunk. > > $ cmake -B out svn_trunk2 -DSVN_ENABLE_TESTS=ON > $ cd out > $ cmake --build > $ ctest > [...] > > All Python-based tests (63 and up) fail with the same error message: > [[[ > Traceback (most recent call last): > File "/home/dsg/ramdisk/svn_trunk2/build/run_tests.py", line 1127, in > <module> > main() > ~~~~^^ > File "/home/dsg/ramdisk/svn_trunk2/build/run_tests.py", line 1120, in > main > failed = th.run(programs) > File "/home/dsg/ramdisk/svn_trunk2/build/run_tests.py", line 597, in run > self._init_py_tests(list(py_basedir)[0]) > ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ > File "/home/dsg/ramdisk/svn_trunk2/build/run_tests.py", line 330, in > _init_py_tests > svntest = importlib.import_module('svntest') > File "/usr/lib/python3.14/importlib/__init__.py", line 88, in > import_module > return _bootstrap._gcd_import(name[level:], package, level) > ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "<frozen importlib._bootstrap>", line 1406, in _gcd_import > File "<frozen importlib._bootstrap>", line 1371, in _find_and_load > File "<frozen importlib._bootstrap>", line 1335, in > _find_and_load_unlocked > ModuleNotFoundError: No module named 'svntest' > ]]] > > (I have also tried with the "out" directory under svn_trunk2 but that had > the same problem). > > I think it's the regression from here: https://lists.apache.org/thread/3s8d1t8r6x5d8xvvmqfqsfcm6fs1o56t The rest - I think you do it right. -- Timofei Zhakov