gentoo-ebuilds/dev-lang/dafny/files/dafny-4.11.0-lit-config.patch
Maciej Barć a107e2a347
dev-lang/dafny: bump to 4.11.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2025-08-26 15:14:33 +02:00

19 lines
801 B
Diff

--- a/Source/IntegrationTests/TestFiles/LitTests/LitTest/lit.site.cfg
+++ b/Source/IntegrationTests/TestFiles/LitTests/LitTest/lit.site.cfg
@@ -109,7 +109,7 @@ testDafnyExecutableResolver = 'dotnet run --no-build --project ' + quotePath(os.
defaultServerExecutable = 'dotnet run --no-build --project ' + quotePath(os.path.join(sourceDirectory, 'DafnyServer', 'DafnyServer.csproj'))
serverExecutable = lit_config.params.get('serverExecutable', defaultServerExecutable)
-boogieExecutable = 'dotnet tool run boogie'
+boogieExecutable = 'boogie'
config.suffixes.append('.transcript')
@@ -222,6 +222,7 @@ solverRoots = os.pathsep.join(
print(solverRoots)
solverPath = \
+ shutil.which("z3") or \
lit.util.which("z3-4.12.1", solverRoots) or \
lit.util.which("cvc4", solverRoots)