]> granicus.if.org Git - graphviz/commitdiff
remove Lefty test cases
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 17 Jan 2022 04:40:37 +0000 (20:40 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 19 Jan 2022 01:12:31 +0000 (17:12 -0800)
The Lefty tool is deprecated and planned to be removed.
1a4ad00b59cc1e1e9302fcbd1a205495ee59cab5 toggled it to default to disabled in
the Autotools build system. The present change is a preparatory commit for
dropping explicit re-enabling of it in CI, allowing it to no longer be compiled
in CI.

ci/tests.py
rtest/test_regression.py
rtest/test_tools.py

index dbb01e968e9d313517ae317195422662c5115ed9..8d76eee965b9b84eefbbbc03f503cf373ae2b4ea 100644 (file)
@@ -37,7 +37,6 @@ import pytest
   "gvpr",
   "gxl2dot",
   "gxl2gv",
-  "lefty",
   "lneato",
   "mingle",
   "mm2gv",
@@ -71,7 +70,6 @@ def test_existence(binary: str):
     "gvmap",
     "gvmap.sh",
     "gxl2dot",
-    "lefty",
     "lneato",
     "mingle",
     "prune",
index e060aab2abe830c979c6ec906fe9bd8fb698a9af..4ae3eac1c6d83f2f8d1fc95d3af9f742c43a1f71 100644 (file)
@@ -632,19 +632,6 @@ def test_1813():
 
   assert "Usage" in output, "gvedit -? did not show usage"
 
-@pytest.mark.skipif(shutil.which("lefty") is None, reason="Lefty not available")
-def test_1818():
-  """
-  lefty -? should show usage
-  https://gitlab.com/graphviz/graphviz/-/issues/1813
-  """
-
-  output = subprocess.check_output(["lefty", "-?"],
-    stderr=subprocess.STDOUT,
-    universal_newlines=True)
-
-  assert "Usage" in output, "lefty -? did not show usage"
-
 def test_1845():
   """
   rendering sequential graphs to PS should not segfault
index f7015d3ceadfafe93e665633c8d31ab03b4c3d5c..5970dbd12c08588252b2fa7a33aded7c76680af3 100644 (file)
@@ -41,7 +41,6 @@ import pytest
     "gvpr",
     "gxl2dot",
     "gxl2gv",
-    "lefty",
     "lneato",
     "mingle",
     "mm2gv",