[libgweather/ebassi/test-style-format: 5/7] Add a "lint" tests suite
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/ebassi/test-style-format: 5/7] Add a "lint" tests suite
- Date: Thu, 3 Mar 2022 14:06:12 +0000 (UTC)
commit fdcfdb5d608aa6965ecf1f45c2eb90c0664ed6d7
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Mar 1 17:30:39 2022 +0000
Add a "lint" tests suite
We have various CI jobs that have nothing to do with linting the data,
so we should add a way to skip the tests that do.
data/meson.build | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index e25732db..00c868dd 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,13 +1,15 @@
xmllint = find_program('xmllint', required: false)
if xmllint.found()
test('Valid Locations file',
- xmllint,
- args: [
- '--path', '@0@'.format(meson.current_source_dir()),
- '--noout',
- '--valid',
- 'Locations.xml',
- ])
+ xmllint,
+ args: [
+ '--path', '@0@'.format(meson.current_source_dir()),
+ '--noout',
+ '--valid',
+ 'Locations.xml',
+ ],
+ suite: ['lint'],
+ )
endif
if pylint.found()
@@ -17,6 +19,7 @@ if pylint.found()
pylint_flags,
gen_locations_variant.full_path(),
],
+ suite: ['lint'],
)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]