github.com/zyedidia/knit@v1.1.2-0.20230901152954-f7d4e39a0e24/test/full_build/test.toml (about) 1 name = "Check rebuilding and changing vars" 2 3 [flags] 4 5 knitfile = "Knitfile" 6 ncpu = 1 7 8 [[builds]] 9 10 args = ["clean"] 11 output = """\ 12 rm -f hello.o other.o hello 13 """ 14 15 [[builds]] 16 17 args = ["hello"] 18 output = """\ 19 gcc -Wall -O2 -c hello.c -o hello.o 20 gcc -Wall -O2 -c other.c -o other.o 21 gcc -Wall -O2 hello.o other.o -o hello 22 """ 23 24 [[builds]] 25 26 args = ["hello"] 27 output = "" 28 error = "'hello': nothing to be done" 29 30 [[builds]] 31 32 args = ["hello", "debug=1"] 33 output = """\ 34 gcc -Wall -Og -g -c hello.c -o hello.o 35 gcc -Wall -Og -g -c other.c -o other.o 36 gcc -Wall -Og -g hello.o other.o -o hello 37 """ 38 39 [[builds]] 40 41 args = ["clean"] 42 output = """\ 43 rm -f hello.o other.o hello 44 """