[libgweather/ebassi/test-style-format: 2/4] Add a "lint" tests suite




commit 3ab06df54d8956de37006dd27672387932def4e0
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]