spa: tests: meson.build: specify check argument for run_command()

The include tests are not critical, hence there is
no need to halt the build if, for some reason, `find` fails.

See https://github.com/mesonbuild/meson/issues/9300
This commit is contained in:
Barnabás Pőcze 2022-01-17 08:15:03 +01:00 committed by Wim Taymans
parent 02e76bad8e
commit e34cbcb92c

View file

@ -9,7 +9,8 @@ if find.found()
'-name', '*.h',
'-not', '-name', 'type-info.h',
'-type', 'f',
'-printf', '%P\n')
'-printf', '%P\n',
check: false)
foreach spa_header : spa_headers.stdout().split('\n')
if spa_header.endswith('.h') # skip empty lines
ext = have_cpp ? 'cpp' : 'c'