summaryrefslogtreecommitdiffstats
path: root/test/missing_port_name.lv2/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-10 15:36:07 -0500
committerDavid Robillard <d@drobilla.net>2022-12-10 19:04:45 -0500
commit66ad3770c761ab03ca1f67b15b32bebb6a4f2cac (patch)
tree41d7fc89ec722f643a4f4b5d09a6346c6f338b50 /test/missing_port_name.lv2/meson.build
parent0791512fb1d73ea63c98f3f68327dc543e214850 (diff)
downloadlilv-66ad3770c761ab03ca1f67b15b32bebb6a4f2cac.tar.gz
lilv-66ad3770c761ab03ca1f67b15b32bebb6a4f2cac.tar.bz2
lilv-66ad3770c761ab03ca1f67b15b32bebb6a4f2cac.zip
Use consistent meson formatting
Diffstat (limited to 'test/missing_port_name.lv2/meson.build')
-rw-r--r--test/missing_port_name.lv2/meson.build40
1 files changed, 24 insertions, 16 deletions
diff --git a/test/missing_port_name.lv2/meson.build b/test/missing_port_name.lv2/meson.build
index 567d25d..3bddcee 100644
--- a/test/missing_port_name.lv2/meson.build
+++ b/test/missing_port_name.lv2/meson.build
@@ -1,28 +1,36 @@
# Copyright 2021-2022 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
-module = shared_module('missing_port_name',
- files('missing_port_name.c'),
- c_args: c_suppressions,
- dependencies: lv2_dep,
- gnu_symbol_visibility: 'hidden',
- name_prefix: '')
+module = shared_module(
+ 'missing_port_name',
+ files('missing_port_name.c'),
+ c_args: c_suppressions,
+ dependencies: lv2_dep,
+ gnu_symbol_visibility: 'hidden',
+ name_prefix: '',
+)
extension = '.' + module.full_path().split('.')[-1]
config = configuration_data({'SHLIB_EXT': extension})
ttl_files = ['manifest.ttl', 'missing_port_name.ttl']
foreach f : ttl_files
- configure_file(input: files(f + '.in'),
- output: f,
- configuration: config)
+ configure_file(
+ input: files(f + '.in'),
+ output: f,
+ configuration: config,
+ )
endforeach
-test('missing_port_name',
- executable('test_missing_port_name',
- files('test_missing_port_name.c'),
- c_args: c_suppressions + test_args,
- dependencies: [lv2_dep, lilv_static_dep]),
- args: [meson.current_build_dir() / ''],
- suite: 'plugin')
+test(
+ 'missing_port_name',
+ executable(
+ 'test_missing_port_name',
+ files('test_missing_port_name.c'),
+ c_args: c_suppressions + test_args,
+ dependencies: [lv2_dep, lilv_static_dep],
+ ),
+ args: [meson.current_build_dir() / ''],
+ suite: 'plugin',
+)