diff options
author | Son Ho | 2022-01-06 16:30:20 +0100 |
---|---|---|
committer | Son Ho | 2022-01-06 16:30:20 +0100 |
commit | 335de855331a424c35b577907eb504c198990c0b (patch) | |
tree | 7364993229f8ff3a01d944992310d22be7694c3b /Makefile | |
parent | 0d330faa8a71712c8d7242d49c74dfb209092d81 (diff) |
Update the trace
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -15,5 +15,13 @@ build-run-check-trace: cmp tests/trace_reference.txt tests/trace_current.txt && \ rm tests/trace_current.txt +# Build the project and update the trace +.PHONY: regen-trace +regen-trace: + dune build src/main.exe && \ + dune exec src/main.exe ../charon/charon/tests/test1.cfim > tests/trace_current.txt && \ + rm tests/trace_reference.txt && \ + mv tests/trace_current.txt tests/trace_reference.txt + doc: dune build @doc |