Hi,
On my VS2008 box, dirent_uri-test.exe #37 is failing with the following
errors:
..\..\..\subversion\tests\libsvn_subr\dirent_uri-test.c:2295:
(apr_err=125001)
..\..\..\subversion\libsvn_subr\dirent_uri.c:1551: (apr_err=125001)
svn_tests: Couldn't determine absolute path of 'C:abc'
..\..\..\subversion\libsvn_subr\dirent_uri.c:1551: (apr_err=20022)
svn_tests: The given path is incomplete
XFAIL: dirent_uri-test.exe 36: test svn_dirent_get_absolute with lc drive
..\..\..\subversion\tests\libsvn_subr\dirent_uri-test.c:2378:
(apr_err=125001)
..\..\..\subversion\libsvn_subr\dirent_uri.c:1810: (apr_err=125001)
..\..\..\subversion\libsvn_subr\dirent_uri.c:1551: (apr_err=125001)
svn_tests: Couldn't determine absolute path of 'C:A'
..\..\..\subversion\libsvn_subr\dirent_uri.c:1551: (apr_err=20022)
svn_tests: The given path is incomplete
FAIL: dirent_uri-test.exe 37: test svn_dirent_condense_targets
Am I doing something wrong, because I see that the Windows buildbot
is in the green. (Side question: is it necessary to set up a
VS2008 buildbot?) Furthermore, during the tests, the copy_tests.py
would give me a 'software crash'. I'd click on ignore and it
crashes again and clicking on Ignore again finally gets the
tests passed. In the tests.log I noticed the following for
copy_test #1:
..\..\..\subversion\svn\copy-cmd.c:129: (apr_err=205009)
svn: Local, non-commit operations do not take a log message or revision
properties
CMD: svn.exe mv -m "op fails"
"svn-test-work\working_copies\copy_tests-1\A\D\G\rho"
"svn-test-work\working_copies\copy_tests-1\A\D" --config-dir
"D:\extprogs\svn\trunk\Debug\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom
<TIME = 0.015000>
..\..\..\subversion\svn\move-cmd.c:80: (apr_err=205009)
svn: Local, non-commit operations do not take a log message or revision
properties
Then for copy_tests #4, I get the following:
<TIME = 0.188000>
..\..\..\subversion\svn\copy-cmd.c:144: (apr_err=160016)
..\..\..\subversion\libsvn_client\copy.c:2087: (apr_err=160016)
..\..\..\subversion\libsvn_client\copy.c:1033: (apr_err=160016)
..\..\..\subversion\libsvn_client\copy.c:1033: (apr_err=160016)
..\..\..\subversion\libsvn_delta\path_driver.c:254: (apr_err=160016)
..\..\..\subversion\libsvn_client\copy.c:575: (apr_err=160016)
..\..\..\subversion\libsvn_repos\commit.c:492: (apr_err=160016)
..\..\..\subversion\libsvn_fs_fs\tree.c:2026: (apr_err=160016)
..\..\..\subversion\libsvn_fs_fs\tree.c:698: (apr_err=160016)
..\..\..\subversion\libsvn_fs_fs\tree.c:698: (apr_err=160016)
svn: Failure opening '/A/B/E/beta/alpha'
..\..\..\subversion\libsvn_fs_fs\tree.c:698: (apr_err=160016)
svn: '/A/B/E/beta' is not a directory in filesystem
'D:/extprogs/svn/trunk/Debug/subversion/tests/cmdline/svn-test-work/repositories/copy_tests-4/db'
CMD: svn.exe cp
"file:///D%3A/extprogs/svn/trunk/Debug/subversion/tests/cmdline/svn-test-work/repositories/copy_tests-4/A/D/G"
"file:///D%3A/extprogs/svn/trunk/Debug/subversion/tests/cmdline/svn-test-work/repositories/copy_tests-4/A/D/H"
-m fooogle --config-dir
"D:\extprogs\svn\trunk\Debug\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom
<TIME = 0.296000>
Committed revision 2.
CMD: svn.exe cp
"file:///D%3A/extprogs/svn/trunk/Debug/subversion/tests/cmdline/svn-test-work/repositories/copy_tests-4/A/D/G"
"file:///D%3A/extprogs/svn/trunk/Debug/subversion/tests/cmdline/svn-test-work/repositories/copy_tests-4/A/D/H"
-m fooogle --config-dir
"D:\extprogs\svn\trunk\Debug\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom
<TIME = 0.047000>
..\..\..\subversion\svn\copy-cmd.c:144: (apr_err=160020)
..\..\..\subversion\libsvn_client\copy.c:2087: (apr_err=160020)
..\..\..\subversion\libsvn_client\copy.c:911: (apr_err=160020)
..\..\..\subversion\libsvn_client\copy.c:911: (apr_err=160020)
svn: Path 'H/G' already exists
PASS: copy_tests.py 4: svn cp URL URL cannot overwrite destination
And for copy_tests.py 5, the following happens:
CMD: svn.exe cp "svn-test-work\working_copies\copy_tests-5\A\D\G\pi"
"svn-test-work\working_copies\copy_tests-5\A\D\G\rho" --config-dir
"D:\extprogs\svn\trunk\Debug\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom
<TIME = 0.031000>
..\..\..\subversion\svn\copy-cmd.c:146: (apr_err=155007)
..\..\..\subversion\libsvn_client\copy.c:2087: (apr_err=155007)
..\..\..\subversion\libsvn_client\copy.c:458: (apr_err=155007)
..\..\..\subversion\libsvn_client\copy.c:458: (apr_err=155007)
svn: Path 'svn-test-work\working_copies\copy_tests-5\A\D\G\rho' is not a
directory
CMD: svn.exe cp "svn-test-work\working_copies\copy_tests-5\A\D\G\pi"
"svn-test-work\working_copies\copy_tests-5\A\D\G\tau" --config-dir
"D:\extprogs\svn\trunk\Debug\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom
<TIME = 0.031000>
..\..\..\subversion\svn\copy-cmd.c:146: (apr_err=155007)
..\..\..\subversion\libsvn_client\copy.c:2087: (apr_err=155007)
..\..\..\subversion\libsvn_client\copy.c:458: (apr_err=155007)
..\..\..\subversion\libsvn_client\copy.c:458: (apr_err=155007)
svn: Path 'svn-test-work\working_copies\copy_tests-5\A\D\G\tau' is not a
directory
CMD: svn.exe status -v -u -q "svn-test-work\working_copies\copy_tests-5"
--config-dir
"D:\extprogs\svn\trunk\Debug\subversion\tests\cmdline\svn-test-work\local_tmp\config"
--password rayjandom --no-auth-cache --username jrandom
<TIME = 0.125000>
Status against revision: 1
CMD: entries-dump.exe "svn-test-work\working_copies\copy_tests-5"
CMD: entries-dump.exe "svn-test-work\working_copies\copy_tests-5\A"
CMD: entries-dump.exe "svn-test-work\working_copies\copy_tests-5\A\B"
CMD: entries-dump.exe "svn-test-work\working_copies\copy_tests-5\A\B\E"
CMD: entries-dump.exe "svn-test-work\working_copies\copy_tests-5\A\B\F"
CMD: entries-dump.exe "svn-test-work\working_copies\copy_tests-5\A\C"
CMD: entries-dump.exe "svn-test-work\working_copies\copy_tests-5\A\D"
CMD: entries-dump.exe "svn-test-work\working_copies\copy_tests-5\A\D\G"
CMD: entries-dump.exe "svn-test-work\working_copies\copy_tests-5\A\D\H"
PASS: copy_tests.py 5: svn cp PATH PATH cannot overwrite destination
So despite some errors, the copy_tests.py passes. I'm trying to
familiarize myself with the tests and came across these items
that required some clarification.
Btw, the above is with the trunk from s.a.o; but, with the following
patch (which isn't going to be submitted as I'm not even sure it's
necessary-- for some reasons, it's necessary for me to have this
patch done in order to get SVN compiling; but, possibly only because
of a configuration issue?):
Index: subversion/include/private/svn_debug.h
===================================================================
--- subversion/include/private/svn_debug.h (revision 881077)
+++ subversion/include/private/svn_debug.h (working copy)
@@ -56,11 +56,13 @@
/* A couple helper functions for the macros below. */
void
svn_dbg__preamble(const char *file, long line, FILE *output);
+
+#ifndef WIN32
void
svn_dbg__printf(const char *fmt, ...)
__attribute__((format(printf, 1, 2)));
+#endif /* ifndef WIN32 */
-
/* Print to stdout. Edit this line if you need stderr. */
#define SVN_DBG_OUTPUT stdout
The reason for the patch is because with a freshly checked out copy
of s.a.o, I can't get the trunk compiled under Windows VS2008 as
it keeps on complaining about the following:
d:\extprogs\svn\trunk\subversion\include\private/svn_debug.h(61):
error C2061: syntax error : identifier '__attribute__'
d:\extprogs\svn\trunk\subversion\include\private/svn_debug.h(61):
error C2059: syntax error : ';'
d:\extprogs\svn\trunk\subversion\include\private/svn_debug.h(61):
error C2059: syntax error : ','
d:\extprogs\svn\trunk\subversion\include\private/svn_debug.h(61):
error C2143: syntax error : missing ')' before 'constant'
Comparing the s.a.o's trunk's include\private\svn_debug.h and the
old s.c.n trunk's version, there aren't any differences; so I must
be doing something wrong. But all I've done is check out the
trunk into a different path and changed how the dependencies
were being referred.
Any pointers definitely appreciated.
Edmund