diff options
author | Bastien Nocera <hadess@hadess.net> | 2020-05-06 14:20:53 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2020-05-06 14:31:47 +0200 |
commit | b2bd96d872ccf93d9ec1e43fa7cae0dca6776adb (patch) | |
tree | 4a4e6257bc5ac76c8a587e14a8fa87d4be4baf0a | |
parent | e302c714685a18b89632ca2edc496d783180d2ce (diff) | |
download | shared-mime-info-b2bd96d872ccf93d9ec1e43fa7cae0dca6776adb.tar.gz |
tests: Verify that our ITS file is valid
-rw-r--r-- | tests/meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build index c506692a..3b01da17 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -50,3 +50,11 @@ test('update-mime-database', update_mime_database, args: meson.current_source_dir() / 'mime-db-tests', ) + +its20_elements_rng = meson.source_root() / 'data/its/its20-elements.rng' +shared_mime_info_its = meson.source_root() / 'data/its/shared-mime-info.its' + +test('ITS validation', + xmllint, + args: [ '--noout', '--relaxng', its20_elements_rng, shared_mime_info_its, ], +) |