diff options
| author | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-02-27 23:01:41 +0100 |
|---|---|---|
| committer | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-02-27 23:01:41 +0100 |
| commit | 496e4f909f4c6f4100ad3cef0a663b3f69b3b89f (patch) | |
| tree | 2bb5ad440c683abb215fb46ffd3818da6dc0df46 /Makefile | |
| parent | 69cccd197a4aa331647a02046e708396f6a13937 (diff) | |
add binary lifting test
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -1,5 +1,25 @@ -all: +TESTS = graph/test/binary_lifting.test + +pdf: latexmk -pdf tcr + +all: pdf test + +test: $(TESTS:.test=.ok) + clean: latexmk -c tcr rm -f *.thm + rm -f $(TESTS) $(TESTS:.test=.ok) + +%.ok: %.test + timeout -v 1 ./$< + @touch $@ +%.test: %.cpp + g++ -std=gnu++20 -Wall -Wextra -Wpedantic -Werror \ + -fsanitize=address,undefined -g -o $@ $< + +graph/test/binary_lifting.test: graph/test/binary_lifting.cpp \ + graph/binary_lifting.cpp + +.PHONY: all pdf test clean |
