Skip to content

Commit

Permalink
feat: add fast and benchmark test targets to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jhf committed Sep 21, 2024
1 parent 4b810bc commit 73faacc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ SQL_FILES = $(wildcard sql/[0-9]*_*.sql)

REGRESS = $(if $(TESTS),$(TESTS),$(patsubst sql/%.sql,%,$(SQL_FILES)))

# New REGRESS_FAST variable excluding the benchmark test
REGRESS_FAST = $(filter-out 43_benchmark,$(REGRESS))

# New target for fast regression tests
fast-tests:
$(MAKE) installcheck REGRESS="$(REGRESS_FAST)"

# New target for benchmark regression test
benchmark:
$(MAKE) installcheck REGRESS="43_benchmark"

OBJS = sql_saga.o periods.o no_gaps.o $(WIN32RES)

PG_CONFIG = pg_config
Expand Down

0 comments on commit 73faacc

Please sign in to comment.