From 08154573f01c8fded21dc9c8bfa7ecf04347d7e2 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Thu, 1 Oct 2020 09:17:34 +0200 Subject: [PATCH] Fix test_symbol_namespace --- test/test_symbol_namespace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_symbol_namespace.py b/test/test_symbol_namespace.py index bda01839..cf52833d 100644 --- a/test/test_symbol_namespace.py +++ b/test/test_symbol_namespace.py @@ -33,14 +33,14 @@ def test_symbol_namespaces(implementation, impl_path, test_dir, init, destr): lines = out.strip().split("\n") symbols = [] for line in lines: - if ' T ' in line or ' D ' in line or ' S ' in line: + if line.startswith("00"): symbols.append(line) namespace = implementation.namespace_prefix() non_namespaced = [] for symbolstr in symbols: *_, symtype, symbol = symbolstr.split() - if symtype in 'TR': + if symtype in 'TDRS': if not (symbol.startswith(namespace) or symbol.startswith('_' + namespace) or # KeccakP-1600 for AVX2