From fd8442075faa603b3956d51d81486424624c5355 Mon Sep 17 00:00:00 2001 From: Thalia Archibald Date: Fri, 21 Jun 2024 12:58:51 -0700 Subject: Backport tests (#87) * Fix unexpected number parse errors * Add chapter titles * Split test files by chapter * Backport rename Fuzzer08Test to FuzzerWrap * Replace graph build scripts with Makefile * Backport Chapter05Test.testRegress1 * Backport require space after 'return' * Backport check EOF after return statement --- chapter04/docs/Makefile | 12 ++++++++++++ chapter04/docs/build-graphs.sh | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 chapter04/docs/Makefile delete mode 100644 chapter04/docs/build-graphs.sh (limited to 'chapter04/docs') diff --git a/chapter04/docs/Makefile b/chapter04/docs/Makefile new file mode 100644 index 00000000..12659b8f --- /dev/null +++ b/chapter04/docs/Makefile @@ -0,0 +1,12 @@ +GV := $(wildcard *.gv) +SVG := $(patsubst %.gv,%.svg,$(GV)) + +.PHONY: all +all: $(SVG) + +%.svg: %.gv + dot -Tsvg $< > $@ + +.PHONY: clean +clean: + @rm -f $(SVG) diff --git a/chapter04/docs/build-graphs.sh b/chapter04/docs/build-graphs.sh deleted file mode 100644 index e736a386..00000000 --- a/chapter04/docs/build-graphs.sh +++ /dev/null @@ -1 +0,0 @@ -dot -Tsvg lattice.gv > lattice.svg -- cgit v1.2.3