Changeset 1104


Ignore:
Timestamp:
Jun 16, 2010, 12:50:46 AM (11 years ago)
Author:
Peter Johansson
Message:

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.

Location:
trunk/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile.am

    r1092 r1104  
    7373
    7474mostlyclean-local:
    75   rm -f *.png *.tmp *~ .toy_project2
     75  rm -f *.png *.tmp *~
    7676
    7777.PHONY: lazycheck
  • trunk/test/Suite.cc

    r1092 r1104  
    4848    mkdir_p(test_dir);
    4949    chdir(test_dir);
     50    out() << "running `" << argv[0] << "' in `" << test_dir << "'\n";
    5051    if (need_test_repo) {
    5152      bool have_test_repo=false;
  • trunk/test/cache_partial_test.cc

    r1094 r1104  
    5050
    5151  // create file ignoring cache file
    52   std::string cache_file =
    53     test::filename("toy_project/.svndigest/AUTHORS.svndigest-cache");
     52  std::string cache_file = "toy_project/.svndigest/AUTHORS.svndigest-cache";
    5453  File file(0,filename,"");
    5554  const StatsCollection& stats1 = file.parse(suite.verbose(), true);
Note: See TracChangeset for help on using the changeset viewer.