From 0f89db627eef586f333c4ec79c2331b9270e127d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 3 Jun 2019 20:58:41 +0100 Subject: Exclude LibesmtpMailServer::sendEmail from coverage --- icetray/icetray/mailServer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icetray/icetray/mailServer.cpp b/icetray/icetray/mailServer.cpp index 743023a..9749c94 100644 --- a/icetray/icetray/mailServer.cpp +++ b/icetray/icetray/mailServer.cpp @@ -8,6 +8,7 @@ namespace IceTray::Mail { { } + // LCOV_EXCL_START Don't test by default, sends a real mail void LibesmtpMailServer::sendEmail(const EmailPtr & msg) { @@ -29,6 +30,7 @@ namespace IceTray::Mail { } smtp_destroy_session(session); } + // LCOV_EXCL_STOP void BasicMailServer::writeEmailContent(const EmailPtr & msg, FILE * ms) -- cgit v1.2.3