Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

20 lines
401 B
Makefile

BTEST=../../btest/btest
DIAG=diag.log
all: cleanup btest-verbose
# Showing all tests.
btest-verbose:
@test -x $(BTEST) && bt=$(BTEST) || bt=btest; $$bt -j -f $(DIAG)
brief: cleanup btest-brief
# Brief output showing only failed tests.
btest-brief:
@test -x $(BTEST) && bt=$(BTEST) || bt=btest; $$bt -j -b -f $(DIAG)
cleanup:
@rm -f $(DIAG)
.PHONY: all btest-verbose brief btest-brief cleanup