Debian Codegraph @

vendored-meson/meson/test cases/format/4 config/meson.build

raw
1 # This file is for testing meson format with custom options.
2 # It ensures 'meson.format' file is automatically loaded.
3
4 project('default format')
5
6 meson_cmd = find_program('meson')
7 meson_files = {
8 'self' : files('meson.build'),
9 'comments' : files('crazy_comments.meson'),
10 'indentation' : files('indentation.meson'),
11 }
12
13 foreach name, f : meson_files
14 test(
15 name,
16 meson_cmd,
17 args : [ 'format', '--check-only', f ],
18 )
19 endforeach