aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-09 18:15:43 -0400
committerDavid Robillard <d@drobilla.net>2022-05-09 18:15:43 -0400
commit2ab9078f21e7e9aca81d5568f8c984480a171631 (patch)
tree5015cf41a0e6a0516daf46190a464371f1004b0b /wscript
parentbd70bc95db7b9aea77d04ffba0693a485d4af8c6 (diff)
downloadlv2-2ab9078f21e7e9aca81d5568f8c984480a171631.tar.xz
Fix spelling test when building as a subproject
Diffstat (limited to 'wscript')
-rw-r--r--wscript15
1 files changed, 9 insertions, 6 deletions
diff --git a/wscript b/wscript
index f05ae77..5c7b5fd 100644
--- a/wscript
+++ b/wscript
@@ -722,17 +722,20 @@ def test(tst):
if "CODESPELL" in tst.env:
spell_ignore = [
- "../doc/pygments.css",
- "../lv2specgen/DTD/*",
- "../schemas.lv2/doap.ttl",
- "../waflib",
+ "doc/pygments.css",
+ "lv2specgen/DTD/*",
+ "schemas.lv2/doap.ttl",
+ "waflib",
]
+ spell_ignore_paths = [os.path.join(tst.src_path("."), x)
+ for x in spell_ignore]
+
check(tst.env.CODESPELL + [
"-d",
"-q", "3",
- "-S", ','.join(spell_ignore),
- '..',
+ "-S", ','.join(spell_ignore_paths),
+ tst.src_path("."),
])
try: