]> granicus.if.org Git - graphviz/commit
use 'which' when accessing tools in the test suite smattr/a1b8e698-f7ad-4b30-a48b-c30ea6f334e0
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 16 Jan 2023 03:24:30 +0000 (19:24 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 16 Jan 2023 03:24:30 +0000 (19:24 -0800)
commit6c114dfcfae9d238ee3e2240b77b4f563bb0f9e2
tree47e23c65fccf735ee9ca1a5d6084df77ee48bcd3
parentc1b8575c9eaedd504c0ca421f415c5dd88346945
use 'which' when accessing tools in the test suite

When running the Graphviz test suite on a installation that was built without
some optional components, calls to these missing components can incorrectly
resolve to those from a prior Graphviz installation that happens to be in your
`$PATH`. This issue was partly addressed in
515c86a923601db5cb704da93046800df7da030a. This change takes things further,
ensuring that invocations of such tools also land on the right version under
test.

Gitlab: #2201
tests/test_regression.py