commit e702f97518cd18fa57c50ee62fdc63ad887f006d
parent 21f2c2b19c40882dc6985f87a2e3527c60e3cfaa
Author: James McCoy <jamessan@jamessan.com>
Date: Sat, 6 Sep 2025 19:58:31 -0400
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
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/test/unit/testutil.lua b/test/unit/testutil.lua
@@ -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_')