diff options
| author | EuAndreh <eu@euandre.org> | 2024-04-06 09:27:02 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-04-06 09:28:21 -0300 |
| commit | aec4e931e4194e7d1b7a9c047e70f13433fa8458 (patch) | |
| tree | d17d160ac3048ec00af5d1319f5dadc6865d90b3 /Makefile | |
| parent | rm .tdrc (diff) | |
| download | pindaiba-aec4e931e4194e7d1b7a9c047e70f13433fa8458.tar.gz pindaiba-aec4e931e4194e7d1b7a9c047e70f13433fa8458.tar.xz | |
Canonicalize builds: remove "fuzz" references
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 27 |
1 files changed, 6 insertions, 21 deletions
@@ -22,7 +22,7 @@ LDLIBS = -lsiphash .SUFFIXES: -.SUFFIXES: .in .c .o .a .bin .msg .cat .bin-check +.SUFFIXES: .in .c .o .a .bin .bin-check .msg .cat .in: sed \ @@ -50,15 +50,11 @@ sources.o = $(sources.c:.c=.o) tests.o = $(tests.c:.c=.o) tests.a = $(tests.c:.c=.a) tests.bin = $(tests.c:.c=.bin) -fuzz.o = $(fuzz.c:.c=.o) -fuzz.a = $(fuzz.c:.c=.a) -fuzz.bin = $(fuzz.c:.c=.bin) archives = \ lib$(NAME).a \ $(tests.a) \ $(NAME).a \ - $(fuzz.a) \ sources = \ $(sources.c) \ @@ -84,9 +80,6 @@ derived-assets = \ $(NAME).bin \ side-assets = \ - $(fuzz.o) \ - $(fuzz.a) \ - $(fuzz.bin) \ tests/logerr.c.txt \ tests/catalog.c.txt \ @@ -99,11 +92,9 @@ all: $(derived-assets) lib$(NAME).a: $(sources.o) $(NAME).a: $(sources.o) src/main.o -$(fuzz.bin): lib$(NAME).a src/config.h: Makefile deps.mk $(sources.o) $(tests.o) src/main.o: Makefile deps.mk src/config.h -tests/slurp.o: Makefile deps.mk src/config.h -tests/slurp.o: tests/slurp.h +tests/slurp.o: tests/slurp.h Makefile deps.mk src/config.h $(archives): @@ -124,19 +115,13 @@ $(tests.bin-check): check-unit: $(tests.bin-check) +check-integration: + + ## Run all tests. Each test suite is isolated, so that a parallel ## build can run tests at the same time. The required artifacts ## are created if missing. -check: check-unit - - - -fuzz.bin-check = $(fuzz.c:.c=.bin-check) -$(fuzz.bin-check): - $(EXEC)$*.bin tests/fuzz/corpus/ $(FUZZFLAGS) - -## Run fuzzing targets indefinitely. -fuzz: $(fuzz.bin-check) +check: check-unit check-integration |
