- graphviz-4.0.0: build error: cmd/tools/gvcolor.c:159: undefined reference to
`fmax` #2246
- Failed assertion in `chkSgraph` for twopi layout and ortho splines. #14
+- Failed assertion in `chkSgraph` for dot layout and ortho splines. #1408
+- Failed assertion in `chkSgraph` for circo layout and ortho splines. #1990
+- Segmentation Fault with splines="ortho". #1658
## [4.0.0] – 2022-05-29
visited[trnum] = TRUE;
- if (t->hi.y > t->lo.y && seg[t->lseg].v0.x == seg[t->lseg].v1.x &&
- seg[t->rseg].v0.x == seg[t->rseg].v1.x) {
+ if (t->hi.y > t->lo.y + C_EPS && FP_EQUAL(seg[t->lseg].v0.x, seg[t->lseg].v1.x) &&
+ FP_EQUAL(seg[t->rseg].v0.x, seg[t->rseg].v1.x)) {
if (flip) {
decomp[size].LL.x = t->lo.y;
decomp[size].LL.y = -seg[t->rseg].v0.x;
import pytest
sys.path.append(os.path.dirname(__file__))
-from gvtest import dot, gvpr, is_mingw, ROOT, remove_xtype_warnings, run_c \
+from gvtest import dot, gvpr, ROOT, remove_xtype_warnings, run_c \
#pylint: disable=wrong-import-position
def is_ndebug_defined() -> bool:
# the execution did not fail as expected
pytest.fail("dot incorrectly exited with success")
-@pytest.mark.xfail(strict=not is_ndebug_defined() and not is_mingw()) # FIXME
def test_1408():
"""
parsing particular ortho layouts should not cause an assertion failure
assert "line 3:" in stderr, \
"GVPR did not identify correct line of syntax error"
-@pytest.mark.xfail() # FIXME
def test_1658():
"""
the graph associated with this test case should not crash Graphviz
assert p.returncode != 0, "edgepaint incorrectly accepted '-rabbit'"
-@pytest.mark.xfail(strict=not is_ndebug_defined()) # FIXME
+@pytest.mark.xfail(platform.system() == "Windows",
+ reason="#56",
+ strict=not is_ndebug_defined()) # FIXME
def test_1990():
"""
using ortho and circo in combination should not cause an assertion failure