diff options
author | David Robillard <d@drobilla.net> | 2022-05-09 18:15:43 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-09 18:15:43 -0400 |
commit | 2ab9078f21e7e9aca81d5568f8c984480a171631 (patch) | |
tree | 5015cf41a0e6a0516daf46190a464371f1004b0b /wscript | |
parent | bd70bc95db7b9aea77d04ffba0693a485d4af8c6 (diff) | |
download | lv2-2ab9078f21e7e9aca81d5568f8c984480a171631.tar.xz |
Fix spelling test when building as a subproject
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -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: |