autocorres: update to Isabelle2020

Signed-off-by: Gerwin Klein <gerwin.klein@data61.csiro.au>
This commit is contained in:
Gerwin Klein 2020-03-21 18:02:55 +08:00 committed by Gerwin Klein
parent 18428256f0
commit 82e116ef6c
4 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ ALL_TESTS_THY := $(PARSE_TESTS_THY) $(PROOF_TESTS_THY) $(EXAMPLES_THY)
# Generate an Isabelle "ROOT" file containing all of our test cases.
tests/ROOT: $(ALL_TESTS_C) $(ALL_TESTS_THY) ../../misc/scripts/gen_isabelle_root.py
python3 ../../misc/scripts/gen_isabelle_root.py -o $@ -b AutoCorres -s AutoCorresTest -d HOL-Number_Theory \
-i tests/parse-tests -i tests/proof-tests -i tests/examples --quick-and-dirty
-i tests/parse-tests -i tests/proof-tests -i tests/examples --quick-and-dirty --dir parse-tests --dir proof-tests --dir examples
# Generate a Isabelle "All.thy" file containing imports to all the test cases.
tests/All.thy: $(ALL_TESTS_C) $(ALL_TESTS_THY) ../../misc/scripts/gen_isabelle_root.py

View File

@ -14,6 +14,7 @@ session AutoCorres = CParser +
Lib
CLib
theories
"DataStructures"
"AutoCorres"
session AutoCorresSEL4 in "test-seL4" = CBaseRefine +

View File

@ -5,7 +5,7 @@
*)
theory BinarySearch
imports "AutoCorres.AutoCorres" "../../DataStructures"
imports "AutoCorres.AutoCorres" "AutoCorres.DataStructures"
begin
external_file "binary_search.c"