)
elif F == 'png':
# FIXME: remove when https://gitlab.com/graphviz/graphviz/-/issues/1788 is fixed
- if platform.system() == 'Windows' and \
- os.environ.get('build_system') == 'cmake':
+ if os.environ.get('build_system') == 'cmake':
print('Warning: Skipping PNG image comparison for test {0}:{1} : format: '
- '{2} because Windows CMake builds does not contain the diffimg '
+ '{2} because CMake builds does not contain the diffimg '
'utility (#1788)'
.format(testname, subtest_index, fmt),
file=sys.stderr)
print('Could not find a value for DIFFIMG', file=sys.stderr)
# FIXME: Remove workaround for missing diffimg when
# https://gitlab.com/graphviz/graphviz/-/issues/1788 is fixed
- if platform.system() != 'Windows' or \
- os.environ.get('build_system') != 'cmake':
+ if os.environ.get('build_system') != 'cmake':
sys.exit(1)
# sys.exit(1)