Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PROSA - Formally Proven Schedulability Analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RT-PROOFS
PROSA - Formally Proven Schedulability Analysis
Commits
1ee334d6
Commit
1ee334d6
authored
2 years ago
by
Björn Brandenburg
Browse files
Options
Downloads
Patches
Plain Diff
Makefile: add 'make proof-length'
parent
f839bf1d
No related branches found
Branches containing commit
No related tags found
1 merge request
!276
generalize preemption_time and priority-model compliance to any processor model
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
Makefile
+14
-2
14 additions, 2 deletions
Makefile
scripts/proofloc.py
+6
-2
6 additions, 2 deletions
scripts/proofloc.py
with
22 additions
and
6 deletions
.gitlab-ci.yml
+
2
−
2
View file @
1ee334d6
...
...
@@ -126,9 +126,9 @@ compile-and-validate:
proof-length
:
stage
:
build
image
:
python:3
-alpine
image
:
python:3
script
:
-
scripts/proofloc.py --check --long-proofs scripts/known
-l
o
ng
-proofs.json `find . -iname *.v`
-
make proof
-l
e
ng
th
spell-check
:
extends
:
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
14
−
2
View file @
1ee334d6
...
...
@@ -84,27 +84,39 @@ spell:
./scripts/flag-typos-in-comments.sh
`
find
.
-iname
'*.v'
`
./scripts/flag-typos-in-Markdown.sh
`
find
.
-iname
'*.md'
`
proof-length
:
./scripts/proofloc.py
--check
`
find
.
-iname
'*.v'
`
distclean
:
cleanall
$(
RM
)
$(
COQ_PROJ
)
help
:
@
echo
"You can run:"
@
echo
@
echo
"'make' or 'make prosa' to build Prosa main development"
@
echo
"'make refinements' to build the refinement part only"
@
echo
" (requires the main development to be installed)"
@
echo
"'make all' to build everything"
@
echo
@
echo
"'make install' to install previously compiled files"
@
echo
"'make validate' to check and verify all proofs"
@
echo
@
echo
"'make htmlpretty' to build the documentation based on CoqdocJS"
@
echo
" (can hide/show proofs)"
@
echo
"'make gallinahtml' to build the documentation without proofs"
@
echo
"'make html' to build the documentation with all proofs"
@
echo
@
echo
"'make clean' to remove generated files"
@
echo
"'make vacumm' to clean .vo .glob .aux files and empty dirs"
@
echo
"'make macos-clean' to clean macos' .DS_Store dirs"
@
echo
"'make distclean' to remove all generated files"
@
echo
"'make mangle-names' to compile with mangle-names option"
@
echo
@
echo
"'make mangle-names' to compile with mangle-names option"
@
echo
"'make spell' to run a spell checker on comments and Markdown files"
@
echo
"'make proof-length' to flag too-long proofs"
@
echo
.PHONY
:
all prosa refinements mangle-names mangle-namesCoqProject
.PHONY
:
commonCoqProject allCoqProject prosaCoqProject refinementsCoqProject
.PHONY
:
install html gallinahtml htmlpretty clean cleanall validate alectryon
.PHONY
:
vacuum macos-clean spell distclean help
.PHONY
:
vacuum macos-clean spell
proof-length
distclean help
This diff is collapsed.
Click to expand it.
scripts/proofloc.py
+
6
−
2
View file @
1ee334d6
...
...
@@ -123,8 +123,12 @@ def check_proof_lengths(opts, all_proofs):
new_long_proofs
=
True
else
:
known_long_proofs
=
known_long_proofs
+
1
print
(
"
Checked %d proofs in %d files, while skipping %d known long proofs.
"
%
(
len
(
all_proofs
),
len
(
opts
.
input_files
),
known_long_proofs
))
if
known_long_proofs
:
print
(
"
Checked %d proofs in %d files, while skipping %d known long proofs.
"
%
(
len
(
all_proofs
),
len
(
opts
.
input_files
),
known_long_proofs
))
else
:
print
(
"
Checked %d proofs in %d files.
"
%
(
len
(
all_proofs
),
len
(
opts
.
input_files
)))
return
new_long_proofs
def
rank_proofs
(
opts
,
all_proofs
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment