mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-19 13:30:02 +00:00
Add a test for POTFILES.in
Add a test that runs make-pot. This will only pass if you've updated po/POTFILES.in and .skip after moving source files around. Unfortunately, it won't catch new source files that are missing.
This commit is contained in:
parent
a36bf22134
commit
5cb84afaa9
@ -299,6 +299,13 @@ foreach test : focus_chain_tests
|
||||
)
|
||||
endforeach
|
||||
|
||||
# Test that po/POTFILES.in and po/POTFILES.skip are up-to-date
|
||||
|
||||
make_pot = find_program ('make-pot', dirs: meson.project_source_root())
|
||||
|
||||
test('potfiles', make_pot,
|
||||
workdir: meson.project_source_root(),
|
||||
suite: ['gtk', 'translations' ])
|
||||
|
||||
if get_option('install-tests')
|
||||
foreach t : tests
|
||||
|
Loading…
Reference in New Issue
Block a user