From c6e748d4fd22a3defec5a5086df3714d405452d6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 3 Apr 2023 09:00:43 -0400 Subject: Check formatting of project Turtle files --- test/meson.build | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test') 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 ################### -- cgit v1.2.1