]> granicus.if.org Git - graphviz/commitdiff
Skip execution of segfaulting neatopack.c in test examples
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Thu, 20 Aug 2020 14:14:27 +0000 (16:14 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Tue, 25 Aug 2020 16:02:08 +0000 (18:02 +0200)
Fails because of https://gitlab.com/graphviz/graphviz/-/issues/1800

rtest/test_examples.py

index 788466af04061e92d83151958c7232d952d08c4c..d4c052e5aa129eae31bb4e614788258b45e0c006 100644 (file)
@@ -47,6 +47,11 @@ def test_compile_example(src):
         subprocess.check_call([cc, '-o', exe, filepath]
           + ['-l{}'.format(l) for l in libs])
 
+      # FIXME: Remove skip of execution of neatopack.c example when
+      # https://gitlab.com/graphviz/graphviz/-/issues/1800 has been fixed
+      if src == 'neatopack.c':
+        pytest.skip('Executing neatopack gives segmentation fault (#1800)')
+
       # run the example
       args = ['-Kneato'] if src in ['demo.c', 'dot.c'] else [];