Xyst test code coverage report
Current view: top level - build/Main - XystConfig.cpp (source / functions) Coverage Total Hit
Commit: 1fb74642dd9d7732b67f32dec2f2762e238d3fa7 Lines: 100.0 % 9 9
Test Date: 2025-08-13 22:46:33 Functions: 100.0 % 9 9
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 50.0 % 18 9

             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-2025 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                   "1fb74642dd9d7732b67f32dec2f2762e238d3fa7"
      27                 :             : #define BUILD_HOSTNAME               "puzzle"
      28                 :             : #define BUILD_TYPE                   "debug"
      29                 :             : #define BUILD_DATE                   "Wed Aug 13 10:41:26 PM CEST 2025"
      30                 :             : #define REGRESSION_DIR               "/home/jbakosi/code/xyst/tests/regression"
      31                 :             : 
      32                 :             : // Accessor definitions as strings of configuration values imported from cmake
      33                 :             : 
      34         [ +  - ]:           9 : std::string unittest_executable() { return UNITTEST_EXECUTABLE; }
      35         [ +  - ]:         807 : std::string inciter_executable() { return INCITER_EXECUTABLE; }
      36         [ +  - ]:          63 : std::string meshconv_executable() { return MESHCONV_EXECUTABLE; }
      37                 :             : 
      38         [ +  - ]:        3375 : std::string git_commit() { return GIT_COMMIT; }
      39         [ +  - ]:         870 : std::string compiler() { return COMPILER; }
      40         [ +  - ]:         870 : std::string build_hostname() { return BUILD_HOSTNAME; }
      41         [ +  - ]:         870 : std::string build_type() { return BUILD_TYPE; }
      42         [ +  - ]:         870 : std::string build_date() { return BUILD_DATE; }
      43         [ +  - ]:          42 : std::string regression_dir() { return REGRESSION_DIR; }
      44                 :             : 
      45                 :             : } // tk::
        

Generated by: LCOV version 2.0-1