fix(tests): ignore vector math types

As noted in #34908, the arm unittests fail due to unrecognized types:

    ERROR    test/unit/testutil.lua @ 802: Expressions parser works with &opt
    test/unit/testutil.lua:774: test/unit/testutil.lua:758: (string) '
    test/unit/testutil.lua:288: declaration specifier expected near '__SVFloat32_t''
    exit code: 256

After testing on Debian's arm64 porterbox, the unittests cleanly pass
when ignoring various types defined in
/usr/include/aarch64-linux-gnu/bits/math-vector.h
This commit is contained in:
James McCoy
2025-09-06 19:58:31 -04:00
parent 21f2c2b19c
commit e702f97518

View File

@@ -146,6 +146,13 @@ local function filter_complex_blocks(body)
or string.find(line, '_Float')
or string.find(line, '__s128')
or string.find(line, '__u128')
or string.find(line, '__SVFloat32_t')
or string.find(line, '__SVFloat64_t')
or string.find(line, '__SVBool_t')
or string.find(line, '__f32x4_t')
or string.find(line, '__f64x2_t')
or string.find(line, '__sv_f32_t')
or string.find(line, '__sv_f64_t')
or string.find(line, 'msgpack_zone_push_finalizer')
or string.find(line, 'msgpack_unpacker_reserve_buffer')
or string.find(line, 'value_init_')