Skip to content
Snippets Groups Projects
Commit dc0c3db7 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Ignore not unit-testable functions

These are pugs initialize and finalize functions.

These functions cannot be checked in the unit-tests framework.
parent eff99499
No related branches found
No related tags found
1 merge request!63Feature/utils coverage
......@@ -19,6 +19,10 @@
#include <iostream>
// LCOV_EXCL_START
// This function cannot be unit-tested: run once when pugs starts
std::string
initialize(int& argc, char* argv[])
{
......@@ -98,6 +102,12 @@ initialize(int& argc, char* argv[])
return filename;
}
// LCOV_EXCL_STOP
// LCOV_EXCL_START
// This function cannot be unit-tested: run once when pugs stops
void
finalize()
{
......@@ -105,3 +115,5 @@ finalize()
PETScWrapper::finalize();
parallel::Messenger::destroy();
}
// LCOV_EXCL_STOP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment