COIN-OR::LEMON - Graph Library

Changeset 13:0ab493e5250e in lemon-benchmark for tests


Ignore:
Timestamp:
12/11/11 18:43:33 (13 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Tags:
tip
Message:

Add build id field to running time logs

Configurable by BENCHMARK_BUILD_ID cmake variable,
which defaults to the last component of the build directory.

Location:
tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tests/benchmark_tools.h

    r12 r13  
    2929
    3030extern const std::string DATADIR_PATH;
    31 
     31extern const std::string BENCHMARK_BUILD_ID;
    3232
    3333inline void logTime(const std::string &_instance_name,
     
    3535                    const lemon::TimeStamp &time)
    3636{
    37   std::cout << "*** " << test_name
     37  std::cout << "*** " << BENCHMARK_BUILD_ID
     38            << ' ' << test_name
    3839            << ' ' << _instance_name
    3940            << ' ' << subtest_name
  • tests/paths.cc.cmake

    r11 r13  
    33
    44const std::string DATADIR_PATH = "@DATADIR_PATH@";
     5const std::string BENCHMARK_BUILD_ID = "@BENCHMARK_BUILD_ID@";
Note: See TracChangeset for help on using the changeset viewer.