Skip to content

Run regression tests with a parallel schedule #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Run regression tests with a parallel schedule
This reduces the time it takes to run these tests on systems that have many CPUs available.
  • Loading branch information
MMeent committed Jan 15, 2025
commit 664699caa0388ffd73ec2f34b00c587161c00d57
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@ RELATIVE_INCLUDES = $(addprefix src/, $(INCLUDES))

LDFLAGS_SL += $(filter -lm, $(LIBS))

REGRESS = security rum rum_validate rum_hash ruminv timestamp orderby orderby_hash \
altorder altorder_hash limits \
int2 int4 int8 float4 float8 money oid \
time timetz date interval \
macaddr inet cidr text varchar char bytea bit varbit \
numeric rum_weight expr
REGRESS = --schedule=$(srcdir)/regress_schedule

TAP_TESTS = 1

Expand Down
12 changes: 12 additions & 0 deletions regress_schedule
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# "security" and "rum" are setup, and must be run sequentially.
test: security
test: rum

# up to 20 tests in a single parallel schedule
test: rum_validate rum_hash ruminv timestamp orderby \
orderby_hash altorder altorder_hash limits int2 \
int4 int8 float4 float8 money \
oid time timetz date interval
test: macaddr inet cidr text varchar \
char bytea bit varbit numeric \
rum_weight expr
close