Contributing: Use meson to run tests

This commit is contained in:
Romain Vigier
2022-04-05 11:25:08 +02:00
parent 1bf9baccc8
commit 305c157407
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -4,14 +4,14 @@
reuse_exe = find_program('reuse', required: false)
if reuse_exe.found()
test(
'Comply with REUSE spec',
'reuse',
reuse_exe,
args: [
'--root',
meson.project_source_root(),
'lint'
],
suite: 'licenses',
suite: 'licensing',
)
endif
@@ -22,7 +22,7 @@ eslint_exe = find_program(
)
if eslint_exe.found()
test(
'Check JavaScript format',
'eslint',
eslint_exe,
args: [ meson.project_source_root() / 'src' ],
suite: 'code',