aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: