[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Source Code Build Errors?

From: Adam Humpherys <adam_at_thescripters.com>
Date: Fri, 27 Nov 2020 06:14:12 +0000

As far as a Windows build, I have this script that works. Might help as a starting point. Has some weirdness with tests. Stops on 60/121 that I need to investigate. But a previous version of the script ran all tests. I think it might be because of Python 2.7 because I used 3.8 when I remember it working last.

https://gist.github.com/ahwm/47dca1ae4290094a539d5dcc30338fb9

________________________________
From: Alan Fry <ttlx0100_at_gmail.com>
Sent: Thursday, November 26, 2020 17:47
To: Branko Čibej
Cc: Subversion Developers
Subject: Re: Source Code Build Errors?

Excellent, thank you.

So the target is "all tests succeeded".

And thank you, I'll dive into the tests.log file. I'm sure the errors are due to the build that I'm trying, not actual faults in the code.

On Tue, Nov 24, 2020 at 1:45 PM Branko Čibej <brane_at_apache.org<mailto:brane_at_apache.org>> wrote:
On 24.11.2020 19:05, Alan Fry wrote:
> Having some time finally to work on building SVN (thanks all who
> helped me get this far), I setup a VM with Ubuntu. (Also setup a
> Windows 10 machine w/ Visual studio, but have not started on that
> effort yet).
>
> Knowing little about linux, I managed to get this far, the results of
> make checks
>
> Last part of the make check:
>
> At least one test FAILED, checking
> /home/svn/Documents/subversion-1.14.0/tests.log
> FAIL: error-test 3: test svn_error_symbolic_name
> FAIL: locks-test 14: lock/unlock when 'write-lock' couldn't be obtained
> FAIL: commit_tests.py 48: set revision props during remote property edit
> FAIL: prop_tests.py 1: write/read props in wc only (ps, pl, pdel, pe)
> FAIL: prop_tests.py 16: property operations on a URL
> FAIL: update_tests.py 38: update --accept automatic conflict resolution
> Summary of test results:
> 2508 tests PASSED
> 162 tests SKIPPED
> 81 tests XFAILED (17 WORK-IN-PROGRESS)
> 6 tests FAILED
> Python version: 3.8.5.
> SUMMARY: Some tests failed
>
> Are these errors something I need to dig into, indicating that my
> build is no good? I was reading in the "INSTALL" document, there is
> mention that some errors are expected. Is there a way to determine if
> these are expected errors?

Expected test failures are tagged as XFAIL, not FAIL. So these are
"real" failures. Also the summary line would read "All tests succeeded"
if there were only expected failures.

You should look at tests.log (the test driver hepfully prints the whole
path) to see why those tests failed, it could be something trivial. It's
not likely that there's a problem with the code, we'd have noticed that.

-- Brane
Received on 2020-11-27 07:14:27 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.