Make "make test" run all tests by default. Add individual test-basic and test-tz makefile targets.

This commit is contained in:
Dianne Skoll
2025-09-05 17:46:25 -04:00
parent b0784feb1a
commit 2835176ad3
2 changed files with 7 additions and 7 deletions

View File

@@ -39,16 +39,15 @@ install-stripped:
@$(MAKE) -C rem2html install
@$(MAKE) -C rem2pdf -f Makefile.top install INSTALL_BASE=$(INSTALL_BASE)
test:
@$(MAKE) -C src -s all
@$(MAKE) -C src -s test
test: test-basic test-tz
test-tz:
@$(MAKE) -C src -s all
@$(MAKE) -C src -s test-tz
test-all:
@$(MAKE) -C src -s test-all
test-basic:
@$(MAKE) -C src -s all
@$(MAKE) -C src -s test-basic
cppcheck:
@$(MAKE) -C src cppcheck

View File

@@ -40,13 +40,14 @@ REMINDOBJS= $(REMINDSRCS:.c=.o) $(XLATSRC:.c=.o)
all: remind rem2ps
test: all
test-basic: all
@sh ../tests/test-rem
test-tz: all
@sh ../tests/test-timezone-support
test-all: test test-tz
test: test-basic test-tz
.c.o:
@CC@ -c @CPPFLAGS@ @CFLAGS@ @DEFS@ $(CEXTRA) -DSYSDIR=$(datarootdir)/remind -I. -I$(srcdir) $<