aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-09 11:21:22 -0400
committerDavid Robillard <d@drobilla.net>2022-08-09 11:21:22 -0400
commit315fd611e5896eb9c2a3f45793695db1b7ef9203 (patch)
treee1c3c77c1165d7888ae16839e2e431919696f50d /test
parent2f17c8c0e0dda285c35c1048454190c90c142b24 (diff)
downloadlv2-315fd611e5896eb9c2a3f45793695db1b7ef9203.tar.xz
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.
Diffstat (limited to 'test')
-rw-r--r--test/meson.build2
1 files changed, 1 insertions, 1 deletions
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',