Walker test code coverage report
Current view: top level - home/jbakosi/code/walker/build/Main - WalkerConfig.cpp (source / functions) Hit Total Coverage
Commit: test_coverage.info Lines: 9 11 81.8 %
Date: 2022-09-21 13:52:12 Functions: 9 11 81.8 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : // *****************************************************************************
       2                 :            : /*!
       3                 :            :   \file      src/Main/WalkerConfig.cpp
       4                 :            :   \copyright 2012-2015 J. Bakosi,
       5                 :            :              2016-2018 Los Alamos National Security, LLC.,
       6                 :            :              2019-2021 Triad National Security, LLC.
       7                 :            :              All rights reserved. See the LICENSE file for details.
       8                 :            :   \brief     Walker configuration imported from cmake
       9                 :            :   \details   Walker configuration inported from cmake.
      10                 :            :   \see       src/CMakeListst.txt
      11                 :            : */
      12                 :            : // *****************************************************************************
      13                 :            : 
      14                 :            : #include <string>
      15                 :            : 
      16                 :            : #include "WalkerConfig.hpp"
      17                 :            : 
      18                 :            : namespace tk {
      19                 :            : 
      20                 :            : #define UNITTEST_EXECUTABLE          "unittest"
      21                 :            : #define RNGTEST_EXECUTABLE           "rngtest"
      22                 :            : #define WALKER_EXECUTABLE            "walker"
      23                 :            : 
      24                 :            : #define WALKER_VERSION               "1.0"
      25                 :            : #define COPYRIGHT                    ""
      26                 :            : #define MPI_COMPILER                 "/usr/bin/mpicxx"
      27                 :            : #define COMPILER                     "/usr/lib/ccache/c++"
      28                 :            : #define BUILD_HOSTNAME               "sprout"
      29                 :            : #define BUILD_TYPE                   "release"
      30                 :            : #define BUILD_DATE                   "Wed 21 Sep 2022 01:30:17 PM IST"
      31                 :            : #define REGRESSION_DIR               "/home/jbakosi/code/walker/tests/regression"
      32                 :            : 
      33                 :            : // Accessor definitions as strings of configuration values imported from cmake
      34                 :            : 
      35                 :       2509 : std::string unittest_executable() { return UNITTEST_EXECUTABLE; }
      36                 :        268 : std::string rngtest_executable() { return RNGTEST_EXECUTABLE; }
      37                 :       3846 : std::string walker_executable() { return WALKER_EXECUTABLE; }
      38                 :            : 
      39                 :         98 : std::string walker_version() { return WALKER_VERSION; }
      40                 :          0 : std::string copyright() { return COPYRIGHT; }
      41                 :         98 : std::string mpi_compiler() { return MPI_COMPILER; }
      42                 :         98 : std::string compiler() { return COMPILER; }
      43                 :         98 : std::string build_hostname() { return BUILD_HOSTNAME; }
      44                 :         98 : std::string build_type() { return BUILD_TYPE; }
      45                 :         98 : std::string build_date() { return BUILD_DATE; }
      46                 :          0 : std::string regression_dir() { return REGRESSION_DIR; }
      47                 :            : 
      48                 :            : } // tk::

Generated by: LCOV version 1.14