aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-11 17:36:10 +0200
committerDavid Robillard <d@drobilla.net>2020-04-11 17:36:10 +0200
commitc0773f8681cf4cc039a11b64b37f003f15f52541 (patch)
tree450594ceccea57ee1369baa6a04492ed7aae9293 /wscript
parent139db9c1b4c7618be1af49c72df9f6e4dcdd060a (diff)
downloadlv2-c0773f8681cf4cc039a11b64b37f003f15f52541.tar.xz
Disable Turtle syntax test on Windows
This causes problems because tempfile.NamedTemporaryFile is not reopenable by name on Windows, but doesn't really need to run there anyway since this test just ensures that the syntax in the repository is normalized and it only needs to run once.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 20d958d..fb13e30 100644
--- a/wscript
+++ b/wscript
@@ -530,7 +530,7 @@ def test(tst):
plugin_files = list(map(str, tst.path.ant_glob("plugins/**/*.ttl")))
bld_files = list(map(str, tst.path.get_bld().ant_glob("**/*.ttl")))
- if "SERDI" in tst.env:
+ if "SERDI" in tst.env and sys.platform != 'win32':
for f in spec_files:
with tempfile.NamedTemporaryFile(mode="w") as tmp:
base_dir = os.path.dirname(f)