[libsoup/carlosgc/client-side-certs2: 17/17] Ignore code-coverage of mock-pkcs11 module




commit 1a6bbe6aa7d7c1da4763f17cd5d6b4bd0d49a500
Author: Patrick Griffis <pgriffis igalia com>
Date:   Tue Jun 1 10:26:16 2021 -0500

    Ignore code-coverage of mock-pkcs11 module

 tests/mock-pkcs11.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/tests/mock-pkcs11.c b/tests/mock-pkcs11.c
index fc549d94..3ec756e5 100644
--- a/tests/mock-pkcs11.c
+++ b/tests/mock-pkcs11.c
@@ -161,6 +161,8 @@ static gboolean mock_logged_in_state = FALSE;
 static size_t mock_login_attempts = 0;
 static CK_ULONG mock_sign_algo = 0;
 
+/* LCOV_EXCL_START */
+
 static CK_FUNCTION_LIST pkcs11_mock_functions = 
 {
         {2, 20},
@@ -2864,3 +2866,5 @@ CK_DEFINE_FUNCTION(CK_RV, C_WaitForSlotEvent)(CK_FLAGS flags, CK_SLOT_ID_PTR pSl
 
         return CKR_NO_EVENT;
 }
+
+/* LCOV_EXCL_STOP */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]