aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2022-11-16 09:50:34 +0000
committerGitHub <noreply@github.com>2022-11-16 09:50:34 +0000
commitb975ee6e184884b63c654d2414f013c645c8a92e (patch)
treecf611fa145553e5eafe828d621ed111304c3c6a0 /test
parent388db3c4801b00f49befa3a2d0fb497fa90d58ce (diff)
downloadlibvfio-user-b975ee6e184884b63c654d2414f013c645c8a92e.zip
libvfio-user-b975ee6e184884b63c654d2414f013c645c8a92e.tar.gz
libvfio-user-b975ee6e184884b63c654d2414f013c645c8a92e.tar.bz2
check spelling (#720)
Use misspell-fixer if available, and correct the small number of errors it found. Rather than trying to install into the CI, run it directly from a github action. Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'test')
-rw-r--r--test/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build
index dd48e4d..c0e61b2 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -98,4 +98,15 @@ if opt_sanitizers == 'none' and meson.version().version_compare('>=0.56.0')
)
endif
+if misspell_fixer.found()
+ test(
+ 'misspell_fixer',
+ misspell_fixer,
+ suite: 'style',
+ args: [
+ '-sv',
+ meson.source_root(),
+ ])
+endif
+
subdir('py')