Opened 11 years ago

Closed 11 years ago

#459 closed task (fixed)

cache_partial_test fails during maintainer-check

Reported by: Peter Johansson Owned by: Peter Johansson
Priority: major Milestone: svndigest 0.8
Component: test Version: trunk
Keywords: Cc:

Description

test-suite.log says

FAIL: cache_partial_test (exit: 134)
====================================

/Users/peter/projects/svndigest/_exported/_build/test/svn_update.sh
A    toy_project/late_copy
...
Checked out revision 68.
At revision 68.
Create SVN instance
Extract repository location
Parsing toy_project/AUTHORS
terminate called after throwing an instance of 'std::runtime_error'
  what():  copy_file: writing target file failed '/Users/peter/projects/svndigest/_exported/_build/test/toy_project/.svndigest/AUTHORS.svndigest-cache'

Is likely problem due to the VPATH build because I don;t see the same thing on my wc in which builddir=srcdir.

Change History (2)

comment:1 Changed 11 years ago by Peter Johansson

Status: newassigned

comment:2 Changed 11 years ago by Peter Johansson

Resolution: fixed
Status: assignedclosed

(In [1104]) fixes #459. The problem was that we now run the test in a subdir of test and some path had not been updated.

Also fix a bug in Makefile.am that directory, .toy_project, was removed with 'rm -f'; you need -r switch to remove directories. The directory should not be generated anymore so I removed it from list of files to remove.

In Suite.cc added an output in start of test that we are running foo_test in testSubDir/foo_test.dir.

Note: See TracTickets for help on using tickets.