zeek/docker/btest/Makefile
Christian Kreibich 1dd6c1d716 Clean up fully after successful Docker btests
If we leave files sitting around, we trigger a Docker image double-build in CI,
because the build runs once, gets tested, and then gets run again when we push
the Docker image: the additional btest files cause Docker to detect a different
source tree, causing an image layer violation.

Also rename "cleanup" target to "clean", to align with rest of our tree.
2021-11-16 15:13:10 -08:00

11 lines
183 B
Makefile

DIAG=diag.log
BTEST=../../auxil/btest/btest
all: btest-verbose clean
# Showing all tests.
btest-verbose:
@$(BTEST) -d -j -f $(DIAG)
clean:
@rm -rf $(DIAG) .tmp .btest.failed.dat