diff options
| author | Thalia Archibald <thalia@archibald.dev> | 2024-06-21 12:58:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-21 20:58:51 +0100 |
| commit | fd8442075faa603b3956d51d81486424624c5355 (patch) | |
| tree | 029c1afb736ff0e350c2b032318e5fc376c7e1e4 /chapter10/docs | |
| parent | e5f4f7b85fbb91a293a7d89d7b85adfbaeeb51f4 (diff) | |
| download | Simple-fd8442075faa603b3956d51d81486424624c5355.tar.gz Simple-fd8442075faa603b3956d51d81486424624c5355.zip | |
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
Diffstat (limited to 'chapter10/docs')
| -rw-r--r-- | chapter10/docs/Makefile | 12 | ||||
| -rw-r--r-- | chapter10/docs/build-graphs.sh | 5 |
2 files changed, 12 insertions, 5 deletions
diff --git a/chapter10/docs/Makefile b/chapter10/docs/Makefile new file mode 100644 index 00000000..12659b8f --- /dev/null +++ b/chapter10/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/chapter10/docs/build-graphs.sh b/chapter10/docs/build-graphs.sh deleted file mode 100644 index 67dd302f..00000000 --- a/chapter10/docs/build-graphs.sh +++ /dev/null @@ -1,5 +0,0 @@ -dot -Tsvg example1.gv > example1.svg -dot -Tsvg example2a.gv > example2a.svg -dot -Tsvg example2b.gv > example2b.svg -dot -Tsvg example2c.gv > example2c.svg -dot -Tsvg lattice.gv > lattice.svg |
