summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSon Ho2021-12-07 17:49:25 +0100
committerSon Ho2021-12-07 17:49:25 +0100
commite3c247adacb1702e9846c7ca02d80a7f96a2abf4 (patch)
tree0dfff98ca841c326afc8d22486e70a516f6b7a43 /Makefile
parent7352e6132d1ce00809b9b2b85bea8eac2c7bf1b7 (diff)
Update the Makefile to make sure the execution trace always remains the
same
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c44454e9..d9159a1a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
all:
- dune build src/main.exe && dune exec src/main.exe
+ dune build src/main.exe && \
+ dune exec src/main.exe > trace_current.txt && \
+ cmp trace_reference.txt trace_current.txt
doc:
dune build @doc