Do the default func test last so we can see what the failure is on more explicitly

This commit is contained in:
Kovid Goyal
2024-02-11 13:16:38 +05:30
parent ede4d7fbca
commit b021e9b648
3 changed files with 11 additions and 7 deletions

View File

@@ -293,11 +293,12 @@ class TestParser(BaseTest):
def test(buf, a, b, align_offset=0):
a, b = ord(a), ord(b)
sizes = [0]
sizes = []
if has_sse4_2:
sizes.append(2)
if has_avx2:
sizes.append(3)
sizes.append(0)
expected = test_find_either_of_two_bytes(buf, a, b, 1)
for sz in sizes: