ソースを参照

Fix test_symbol_namespace

tags/v0.0.1
Thom Wiggers 4年前
committed by Kris Kwiatkowski
コミット
7bc63d020b
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      test/test_symbol_namespace.py

+ 2
- 2
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


読み込み中…
キャンセル
保存