aboutsummaryrefslogtreecommitdiffstats
path: root/test/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-03 09:00:43 -0400
committerDavid Robillard <d@drobilla.net>2023-04-06 07:19:10 -0400
commitc6e748d4fd22a3defec5a5086df3714d405452d6 (patch)
tree6700dc49fe6817a98cccd33352203863322d2c3d /test/meson.build
parenta4d50af7bae8d5e2f0f27e714292cdad68a36eac (diff)
downloadserd-c6e748d4fd22a3defec5a5086df3714d405452d6.tar.gz
serd-c6e748d4fd22a3defec5a5086df3714d405452d6.tar.bz2
serd-c6e748d4fd22a3defec5a5086df3714d405452d6.zip
Check formatting of project Turtle files
Diffstat (limited to 'test/meson.build')
-rw-r--r--test/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
index dcfc627a..c55f2c5d 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -13,6 +13,7 @@ plot_scripts = files(
)
simple_scripts = files(
+ '../scripts/check_formatting.py',
'run_suite.py',
'serd_test_util/__init__.py',
'test_quiet.py',
@@ -76,6 +77,16 @@ if get_option('lint')
pylint_args = ['--disable', 'bad-option-value']
test('pylint', pylint, args: pylint_args + pylint_scripts, suite: 'scripts')
endif
+
+ # Check Turtle formatting with serdi
+ foreach ttl_file : ttl_metadata_files
+ test(
+ '@0@'.format(ttl_file).underscorify(),
+ check_formatting_py,
+ args: [ttl_file, serdi, '-o', 'turtle'],
+ suite: 'data',
+ )
+ endforeach
endif
###################