Debian Codegraph @

test cases/format/6 natural sort/meson.build

raw
1 # This file is for testing meson format with file sorting enabled
2
3 project('default format')
4
5 meson_cmd = find_program('meson')
6 meson_files = {
7 'self': files('meson.build'),
8 'sort': files('sort_files.meson'),
9 }
10 config = files('options.ini')
11
12 foreach name, f : meson_files
13 test(
14 name,
15 meson_cmd,
16 args: ['format', '--check-only', '--configuration', config, f],
17 )
18 endforeach