summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3227e0eb..3c9d9f1e 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,8 @@ build-run:
build-run-check-trace: generate-cfim
dune build src/main.exe && \
dune exec src/main.exe $(CFIM_TEST_FILE) > tests/trace_current.txt && \
- cmp tests/trace_reference.txt tests/trace_current.txt
+ cmp tests/trace_reference.txt tests/trace_current.txt && \
+ cp fstar/Primitives.fst $(CHARON_TESTS_DIR)
# Build the project and update the trace
.PHONY: regen-trace
@@ -25,7 +26,8 @@ regen-trace: generate-cfim
dune build src/main.exe && \
dune exec src/main.exe $(CFIM_TEST_FILE) > tests/trace_current.txt && \
rm -f tests/trace_reference.txt && \
- cp tests/trace_current.txt tests/trace_reference.txt
+ cp tests/trace_current.txt tests/trace_reference.txt \
+ cp fstar/Primitives.fst $(CHARON_TESTS_DIR)
.PHONY: generate-cfim
generate-cfim: