How to run Subversion regression tests

17 views
Skip to first unread message

Julian Foad

unread,
Oct 25, 2017, 7:34:10 AM10/25/17
to TortoiseSVN-dev
I am looking for the recommended way to run the Subversion regression tests during a build of TSVN.

I tried (cd ext\Subversion; python win-tests.py --release) and got this error:

[[[
C:\Users\Julian\source\TSVN\ext\Subversion>python win-tests.py
Traceback (most recent call last):
  File "win-tests.py", line 134, in <module>
    cp.items('options'))
  File "C:\Python27\lib\ConfigParser.py", line 642, in items
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'options'
]]]

It tried to parse 'gen-make.opts' and read an 'options' section from it, but there is no 'gen-make.opts' file.

I have previously and successfully run 'nant x64 setup' in here.

I have not (explicitly) run 'gen-make.py'. If I need to do so, then how do I specify the path to APR? From within the "ext\Subversion" directory I tried specifying it as "..\apr" but this fails:

[[[
C:\Users\Julian\source\TSVN\ext\Subversion>python gen-make.py --vsnet-version=2017 --with-openssl=..\openssl --with-zlib=..\zlib --with-apr=..\apr
Generating for Visual Studio 2017

Traceback (most recent call last):
  File "gen-make.py", line 327, in <module>
    main(conf, gentype, skip_depends=skip, other_options=rest.list)
  File "gen-make.py", line 62, in main
    generator = gen_module.Generator(fname, verfname, other_options)
  File "build\generator\gen_vcnet_vcproj.py", line 36, in __init__
    'vcnet-vcproj')
  File "build\generator\gen_win.py", line 78, in __init__
    self.find_libraries(True)
  File "build\generator\gen_win_dependencies.py", line 305, in find_libraries
    self._find_apr()
  File "build\generator\gen_win_dependencies.py", line 416, in _find_apr
    bin_files = os.listdir(dll_dir)
WindowsError: [Error 3] The system cannot find the path specified: '..\\apr\\bin/*.*'
]]]

- Julian

Stefan

unread,
Oct 25, 2017, 4:08:03 PM10/25/17
to TortoiseSVN-dev


On Wednesday, October 25, 2017 at 1:34:10 PM UTC+2, Julian Foad wrote:
I am looking for the recommended way to run the Subversion regression tests during a build of TSVN.

I'm afraid those tests won't work with the way TSVN builds those libraries.

The svn tests require that each svn lib is compiled into its own dll, but TSVN builds all svn libs into one big dll instead.

If you want to run the svn tests, you have to make a clean svn build instead from scratch.

Stefan

Julian Foad

unread,
Oct 25, 2017, 4:11:16 PM10/25/17
to tortois...@googlegroups.com
Stefan via TortoiseSVN-dev wrote:
> Julian Foad wrote:
>> I am looking for the recommended way to run the Subversion
>> regression tests during a build of TSVN.
>
> I'm afraid those tests won't work with the way TSVN builds those libraries.
>
> The svn tests require that each svn lib is compiled into its own dll,
> but TSVN builds all svn libs into one big dll instead.
>
> If you want to run the svn tests, you have to make a clean svn build
> instead from scratch.

OK, thanks for the info.

- Julian

Reply all
Reply to author
Forward
0 new messages