Running ctest on Linux

Daniel Sahlberg <[email protected]>
Newsgroups gmane.comp.version-control.subversion.devel
Message-ID <CAMHy98NaiEXM_BDpMBvWNa3OfxhuYD=SQLK-3Rzv_D5857Li4Q@mail.gmail.com>
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).

Cheers,
/Daniel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.