LCOV - code coverage report
Current view: top level - ers/plugins - AbortStream.cpp (source / functions) Coverage Total Hit
Test: code.result Lines: 25.0 % 4 1
Test Date: 2026-10-11 15:05:20 Functions: 33.3 % 3 1

            Line data    Source code
       1              : /*
       2              :  * DUNE DAQ modification notice:
       3              :  * This file has been modified from the original ATLAS ers source for the DUNE DAQ project.
       4              :  * Fork baseline commit: 8267df82a4f6fe6bf02c4014923eba19eddc4614 (2020-04-14).
       5              :  * Renamed since fork: yes (from src/streams/AbortStream.cxx to plugins/AbortStream.cpp).
       6              :  *
       7              :  * Original copyright:
       8              :  * Copyright (C) 2001-2020 CERN for the benefit of the ATLAS collaboration.
       9              :  * Licensed under the Apache License, Version 2.0.
      10              :  */
      11              : 
      12              : /*
      13              :  *  AbortStream.cxx
      14              :  *  ers
      15              :  *
      16              :  *  Created by Serguei Kolos on 02.08.05.
      17              :  *  Copyright 2004 CERN. All rights reserved.
      18              :  *
      19              :  */
      20              : 
      21              : #include <ers/internal/AbortStream.hpp>
      22              : #include <stdlib.h>
      23              : 
      24           43 : ERS_REGISTER_OUTPUT_STREAM(ers::AbortStream, "abort", ERS_EMPTY)
      25              : 
      26              : void
      27            0 : ers::AbortStream::write(const Issue& issue)
      28              : {
      29            0 :   chained().write(issue);
      30            0 :   ::abort();
      31              : }
        

Generated by: LCOV version 2.0-1