summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSon Ho2022-02-03 22:53:54 +0100
committerSon Ho2022-02-03 22:53:54 +0100
commit88608b517e3a3fb556155440a4e2908b414c9826 (patch)
tree296d8957c1c4f09322c9490c1b414afb17869b49 /Makefile
parentf6cad578be588004b0f643083b0ea1274c389462 (diff)
Make minor modifications
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: