From 315fd611e5896eb9c2a3f45793695db1b7ef9203 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 9 Aug 2022 11:21:22 -0400 Subject: Avoid running syntax check in cross builds This doesn't work because lv2_check_syntax.py uses serdi, and so would need to call it with a wrapper. That's possible (and is how the test scripts work), but this check doesn't need to run everywhere, so just disable it in cross builds to avoid the issue. --- test/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build index bd0f0d5..8c5a68a 100644 --- a/test/meson.build +++ b/test/meson.build @@ -33,7 +33,7 @@ endif # Check that specification data is strictly formatted serdi = find_program('serdi', required: get_option('tests')) -if serdi.found() +if serdi.found() and not meson.is_cross_build() lv2_check_syntax = files(lv2_source_root / 'scripts' / 'lv2_check_syntax.py') test('syntax', -- cgit v1.2.1