Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions SmithyDafnyMakefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
# Variables:
# MAX_RESOURCE_COUNT -- The Dafny report generator max resource count.
# This is is per project because the verification variability can differ.
# VERIFY_TIMEOUT -- The Dafny verification timeout in seconds.
# This is only a guard against builds taking way too long to fail.
# The resource count limit above is much more important for fighting brittle verification.
# PROJECT_DEPENDENCIES -- List of dependencies for the project.
# It should be the list of top level directory names
# PROJECT_SERVICES -- List of names of each local service in the project
Expand All @@ -30,6 +33,7 @@
# defaults to $(SMITHY_DAFNY_ROOT)/codegen/gradlew

MAX_RESOURCE_COUNT := 10000000
VERIFY_TIMEOUT := 100

# This evaluates to the path of the current working directory.
# i.e. The specific library under consideration.
Expand Down Expand Up @@ -82,7 +86,7 @@ verify:
-unicodeChar:0 \
-functionSyntax:3 \
-verificationLogger:csv \
-timeLimit:100 \
-timeLimit:$(VERIFY_TIMEOUT) \
-trace \
%

Expand All @@ -97,7 +101,7 @@ verify_single:
-unicodeChar:0 \
-functionSyntax:3 \
-verificationLogger:text \
-timeLimit:100 \
-timeLimit:$(VERIFY_TIMEOUT) \
-trace \
$(if ${PROC},-proc:*$(PROC)*,) \
$(FILE)
Expand All @@ -112,7 +116,7 @@ verify_service:
-unicodeChar:0 \
-functionSyntax:3 \
-verificationLogger:csv \
-timeLimit:100 \
-timeLimit:$(VERIFY_TIMEOUT) \
-trace \
`find ./dafny/$(SERVICE) -name '*.dfy'` \

Expand Down