From 53599e95a5f0f1d9fed18c9b4418e6f506f5a973 Mon Sep 17 00:00:00 2001
From: Szczepan Zalega <szczepan@nitrokey.com>
Date: Tue, 10 Apr 2018 09:30:32 +0200
Subject: Tests: skip reading custom-type based function header

Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
---
 unittest/conftest.py | 1 +
 1 file changed, 1 insertion(+)

(limited to 'unittest')

diff --git a/unittest/conftest.py b/unittest/conftest.py
index 49f1502..9af67ac 100644
--- a/unittest/conftest.py
+++ b/unittest/conftest.py
@@ -44,6 +44,7 @@ def C(request=None):
     cnt = 0
     a = iter(declarations)
     for declaration in a:
+        if 'NK_device_model' in declaration: continue
         if declaration.strip().startswith('NK_C_API'):
             declaration = declaration.replace('NK_C_API', '').strip()
             while ';' not in declaration:
-- 
cgit v1.2.3