diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -17,16 +17,15 @@ 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 && \ - rm tests/trace_current.txt + cmp tests/trace_reference.txt tests/trace_current.txt # Build the project and update the trace .PHONY: regen-trace regen-trace: generate-cfim dune build src/main.exe && \ dune exec src/main.exe $(CFIM_TEST_FILE) > tests/trace_current.txt && \ - rm tests/trace_reference.txt && \ - mv tests/trace_current.txt tests/trace_reference.txt + rm -f tests/trace_reference.txt && \ + cp tests/trace_current.txt tests/trace_reference.txt .PHONY: generate-cfim generate-cfim: |