Xyst test code coverage report
Current view: top level - home/jbakosi/code/xyst/build/gnu/Main - XystConfig.cpp (source / functions) Hit Total Coverage
Commit: e489e3468f2b950872163df1285c13fa7a355e8c Lines: 9 9 100.0 %
Date: 2024-11-20 18:16:45 Functions: 9 9 100.0 %
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/XystConfig.cpp
       4                 :            :   \copyright 2012-2015 J. Bakosi,
       5                 :            :              2016-2018 Los Alamos National Security, LLC.,
       6                 :            :              2019-2021 Triad National Security, LLC.,
       7                 :            :              2022-2024 J. Bakosi
       8                 :            :              All rights reserved. See the LICENSE file for details.
       9                 :            :   \brief     Xyst configuration imported from cmake
      10                 :            :   \details   Xyst configuration inported from cmake.
      11                 :            :   \see       src/CMakeListst.txt
      12                 :            : */
      13                 :            : // *****************************************************************************
      14                 :            : 
      15                 :            : #include <string>
      16                 :            : 
      17                 :            : #include "XystConfig.hpp"
      18                 :            : 
      19                 :            : namespace tk {
      20                 :            : 
      21                 :            : #define UNITTEST_EXECUTABLE          "unittest"
      22                 :            : #define INCITER_EXECUTABLE           "inciter"
      23                 :            : #define MESHCONV_EXECUTABLE          "meshconv"
      24                 :            : 
      25                 :            : #define COMPILER                     "/usr/bin/mpicxx"
      26                 :            : #define GIT_COMMIT                   "e489e3468f2b950872163df1285c13fa7a355e8c"
      27                 :            : #define BUILD_HOSTNAME               "sprout"
      28                 :            : #define BUILD_TYPE                   "release"
      29                 :            : #define BUILD_DATE                   "Wed Nov 20 06:10:00 PM CET 2024"
      30                 :            : #define REGRESSION_DIR               "/home/jbakosi/code/xyst/tests/regression"
      31                 :            : 
      32                 :            : // Accessor definitions as strings of configuration values imported from cmake
      33                 :            : 
      34                 :          3 : std::string unittest_executable() { return UNITTEST_EXECUTABLE; }
      35                 :        254 : std::string inciter_executable() { return INCITER_EXECUTABLE; }
      36                 :         21 : std::string meshconv_executable() { return MESHCONV_EXECUTABLE; }
      37                 :            : 
      38                 :       1065 : std::string git_commit() { return GIT_COMMIT; }
      39                 :        275 : std::string compiler() { return COMPILER; }
      40                 :        275 : std::string build_hostname() { return BUILD_HOSTNAME; }
      41                 :        275 : std::string build_type() { return BUILD_TYPE; }
      42                 :        275 : std::string build_date() { return BUILD_DATE; }
      43                 :         14 : std::string regression_dir() { return REGRESSION_DIR; }
      44                 :            : 
      45                 :            : } // tk::

Generated by: LCOV version 1.16