Skip to content

Commit

Permalink
using locv ignore errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gangatp committed Dec 13, 2023
1 parent f02a2c7 commit c2640c0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ NMR_ModelReaderNode_KeyStoreCipherValue.h defines the Model Reader Node class th

#include "Model/Reader/NMR_ModelReaderNode_StringValue.h"
#include "base64.h"
#include <iostream>

namespace NMR {

Expand Down
2 changes: 1 addition & 1 deletion Tests/CPP_Bindings/Source/UnitTest_EncryptionUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ void EncryptionCallbacks::keyDecryptClientCallback(
*status = 0;
else if (nullptr == plainBuffer || 0 == plainSize) {
// plainNeeded should be bigger than the plain text size for padding cases to avoid mem leak.
*plainNeeded = RsaMethods::getSize(context->key) - 42;
*plainNeeded = RsaMethods::getSize(context->key) - 42;
*status = 32;
}
else {
Expand Down
4 changes: 2 additions & 2 deletions Tests/codecoverage/run_codecoverage.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cd build
lcov --capture --initial --directory . --output-file Test_CPP_Bindings_base.info
lcov --capture --initial --directory --ignore-errors gcov,inconsistent . --output-file Test_CPP_Bindings_base.info

./Test_CPP_Bindings

lcov --directory . --capture --output-file Test_CPP_Bindings_run.info
lcov --directory . --capture --ignore-errors gcov,inconsistent --output-file Test_CPP_Bindings_run.info
lcov --add-tracefile Test_CPP_Bindings_base.info --add-tracefile Test_CPP_Bindings_run.info --output-file Test_CPP_Bindings.info

TARGETDIR=`dirname \`pwd\``
Expand Down

0 comments on commit c2640c0

Please sign in to comment.