]> granicus.if.org Git - graphviz/commitdiff
Fix test examples exit status check
authorMagnus Jacobsson <magnus.jacobsson@berotec.se>
Wed, 26 Aug 2020 12:58:11 +0000 (14:58 +0200)
committerMagnus Jacobsson <magnus.jacobsson@berotec.se>
Wed, 26 Aug 2020 12:58:40 +0000 (14:58 +0200)
rtest/test_examples.py

index d4c052e5aa129eae31bb4e614788258b45e0c006..364b1a314f0d85f3677b542bf24b1bde0e303292 100644 (file)
@@ -62,6 +62,7 @@ def test_compile_example(src):
       )
       p.communicate(input='graph {a -- b}')
       print('returncode: {} = 0x{:08x}'.format(p.returncode, p.returncode))
+      assert p.returncode == 0
 
 @pytest.mark.parametrize('src', ['addrings', 'attr', 'bbox', 'bipart',
   'chkedges', 'clustg', 'collapse', 'cycle', 'deghist', 'delmulti', 'depath',