aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-12 21:07:21 -0400
committerDavid Robillard <d@drobilla.net>2022-08-12 21:07:37 -0400
commit283a868ec1f76304cca68c32f00702142604d62c (patch)
treeec3d55c3ff36b3bb5dda9e117319b3c663b56196 /test
parent99516d02d3a8c5b6b37bb34b40fc1c47494f0043 (diff)
downloadlv2-283a868ec1f76304cca68c32f00702142604d62c.tar.xz
Avoid running syntax check on Windows
Diffstat (limited to 'test')
-rw-r--r--test/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/meson.build b/test/meson.build
index 8c5a68a..e6178dc 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -33,7 +33,8 @@ endif
# Check that specification data is strictly formatted
serdi = find_program('serdi', required: get_option('tests'))
-if serdi.found() and not meson.is_cross_build()
+native_build = not meson.is_cross_build() and host_machine.system() != 'windows'
+if serdi.found() and native_build
lv2_check_syntax = files(lv2_source_root / 'scripts' / 'lv2_check_syntax.py')
test('syntax',