Skip to content
Snippets Groups Projects
Commit fac5fb7a authored by Ralf Jung's avatar Ralf Jung
Browse files

improve options-import check

parent cc85a940
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ NORMALIZER:=test-normalizer.sed
test: $(TESTFILES:.v=.vo)
# Make sure everything imports the options.
$(HIDE)for FILE in $(filter-out theories/options.v,$(VFILES)); do \
$(HIDE)for FILE in $(VFILES); do \
if ! fgrep -q 'From iris Require Import options.' "$$FILE"; then echo "ERROR: $$FILE does not import 'options'."; exit 1; fi \
done
.PHONY: test
......
......@@ -5,3 +5,8 @@ but not transitively. *)
Export Set Default Proof Using "Type".
Export Set Suggest Proof Using. (* also warns about forgotten [Proof.] *)
(* "Fake" import to whitelist this file for the check that ensures we import
this file everywhere.
From iris Require Import options.
*)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment