Skip to content

Commit

Permalink
Move boogie-args.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
atomb committed Jan 8, 2024
1 parent 46c9355 commit 575e8f1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Scripts/dafny_boogie.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
ROOT=$(dirname $(dirname "${BASH_SOURCE[0]}"))
BOOGIE_ARGS=$(sed -e 's|^|-|' "${ROOT}"/Test/boogie-args.cfg | sed -e "s|{ROOT}|$ROOT|")
BOOGIE_ARGS=$(sed -e 's|^|-|' "${ROOT}"/Source/boogie-args.cfg | sed -e "s|{ROOT}|$ROOT|")
dotnet tool run boogie $BOOGIE_ARGS "$@"
2 changes: 1 addition & 1 deletion Source/IntegrationTests/LitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ IEnumerable<string> AddExtraArgs(IEnumerable<string> args, IEnumerable<string> l
};

DefaultBoogieArguments =
File.ReadAllLines(RepositoryRoot + "Test/boogie-args.cfg")
File.ReadAllLines(RepositoryRoot + "Source/boogie-args.cfg")
.Select(arg => "-" + arg)
.Append("/proverOpt:PROVER_PATH:" + RepositoryRoot + $"../unzippedRelease/dafny/z3/bin/z3-{DafnyOptions.DefaultZ3Version}")
.ToArray();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ dafnyArgs = [
]

boogieArgs = ""
with open(repositoryRoot + '/Test/boogie-args.cfg', 'r') as boogieArgFile:
with open(repositoryRoot + '/Source/boogie-args.cfg', 'r') as boogieArgFile:
boogieArgs = boogieArgFile.read().splitlines() + ["proverOpt:PROVER_PATH=" + solverPath]

# Add standard parameters
Expand Down
File renamed without changes.

0 comments on commit 575e8f1

Please sign in to comment.