]> granicus.if.org Git - graphviz/commitdiff
Don't treat Windows as an unrecognized system
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Mon, 3 Aug 2020 06:01:25 +0000 (08:01 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Thu, 6 Aug 2020 09:40:35 +0000 (11:40 +0200)
rtest/rtest.py

index be42e8a1f265ba28ffa055a578bc847dbd6e0c07..0ac6d4611cc4b390aa74ab1e89a26232875a5aff 100755 (executable)
@@ -312,6 +312,8 @@ if not REFDIR:
     REFDIR = 'linux.x86'
   elif platform.system() == 'Darwin':
     REFDIR = 'macosx'
+  elif platform.system() == 'Windows':
+    REFDIR = 'nshare'
   else:
     print('Unrecognized system "{0}"'.format(platform.system()), file=sys.stderr)
     REFDIR = 'nshare'