mirror of
https://github.com/neovim/neovim.git
synced 2026-06-16 00:31:16 +00:00
fix(unittest): preprocess failure when __typeof declarations present #40145
On Debian's ppc64el build, the unittests are failing during preprocess
with
test/unit/testutil.lua:298: declaration specifier expected near '__typeof' at line 298
test/unit/testutil.lua:282: assertion failed!
Running with NVIM_TEST_PRINT_I set shows these lines as being the
problem when trying to preprocess test/unit/fixtures/posix.h.
690 extern __typeof (strtold) strtold ;
691 extern __typeof (strtold_l) strtold_l ;
692 extern __typeof (strfroml) strfroml ;
693 extern __typeof (qecvt) qecvt ;
694 extern __typeof (qfcvt) qfcvt ;
695 extern __typeof (qgcvt) qgcvt ;
696 extern __typeof (qecvt_r) qecvt_r ;
697 extern __typeof (qfcvt_r) qfcvt_r ;
(cherry picked from commit 6c2f2b73eb)
This commit is contained in:
committed by
github-actions[bot]
parent
be4e7cfd6a
commit
a0ee5811b1
@@ -152,6 +152,7 @@ local function filter_complex_blocks(body)
|
||||
or string.find(line, '__f64x2_t')
|
||||
or string.find(line, '__sv_f32_t')
|
||||
or string.find(line, '__sv_f64_t')
|
||||
or string.find(line, 'extern __typeof')
|
||||
or string.find(line, 'msgpack_zone_push_finalizer')
|
||||
or string.find(line, 'msgpack_unpacker_reserve_buffer')
|
||||
or string.find(line, 'value_init_')
|
||||
|
||||
Reference in New Issue
Block a user