aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-04-10 09:30:32 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2018-04-10 09:30:32 +0200
commit53599e95a5f0f1d9fed18c9b4418e6f506f5a973 (patch)
treeadc4d6462ff37c1f2ebe89861fc3f02725ef98ca
parent7c50b1a7f3802178395ba3b378bb6270654c6e67 (diff)
downloadlibnitrokey-53599e95a5f0f1d9fed18c9b4418e6f506f5a973.tar.gz
libnitrokey-53599e95a5f0f1d9fed18c9b4418e6f506f5a973.tar.bz2
Tests: skip reading custom-type based function header
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--unittest/conftest.py1
1 files changed, 1 insertions, 0 deletions
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: