Tests: Fix solver help output detection case insensitive (#5626) (#5627)

This commit is contained in:
sumpster
2024-11-23 18:10:37 -05:00
committed by GitHub
parent ae990ebcda
commit ca31bcdbb6
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -196,6 +196,7 @@ Srinivasan Venkataramanan
Stefan Wallentowitz
Stephen Henry
Steven Hugg
sumpster
Szymon Gizler
Sören Tempel
Teng Huang
+1 -1
View File
@@ -180,7 +180,7 @@ class Capabilities:
if Capabilities._cached_have_solver is None:
out = VtOs.run_capture('(z3 --help || cvc5 --help || cvc4 --help) 2>/dev/null',
check=False)
Capabilities._cached_have_solver = bool('Usage' in out)
Capabilities._cached_have_solver = bool('usage' in out.casefold())
return Capabilities._cached_have_solver
@staticproperty