Changeset 1249 for trunk/test/Suite.cc


Ignore:
Timestamp:
Mar 20, 2008, 7:12:20 PM (15 years ago)
Author:
Peter
Message:

refs #217. Added function 'filename' that takes relative path and returns absolute path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Suite.cc

    r1247 r1249  
    2323
    2424#include "Suite.h"
     25#include "environment.h"
    2526
    2627#include <algorithm>
     
    6465  {
    6566    ok_ = ok_ && ok;
     67  }
     68
     69
     70  std::string filename(const std::string& path)
     71  {
     72    return abs_srcdir()+"/"+path;
    6673  }
    6774
Note: See TracChangeset for help on using the changeset viewer.