Opened 6 years ago

Closed 6 years ago

#4200 closed enhancement (fixed)

move core regress tests under regress/core

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 3.0.0
Component: build Version: master
Keywords: Cc:

Description

This is to allow running core-only tests w/out necessarely _also_ running sfcgal tests, which is currently impossible with a "make check" call (there's no isolated directory for them).

My proposal is to have:

regress/core regress/sfcgal

Then the Makefile in regress/ would descend in both if sfcgal is enabled and only in core otherwise. Users willing to only run core tests can do:

make -C regress/core check

This is particularly useful for running upgrade tests (see utils/check_all_upgrades) when sfcgal was not available in source release.

Change History (2)

comment:1 by strk, 6 years ago

btw, I just noticed that the --upgrade switch is passed in regress/Makefile too, so we're already doing extra work there (maybe this could be avoided by skipping the second call _iff_ --upgrade was already in the env-provided flags

comment:2 by strk, 6 years ago

Resolution: fixed
Status: newclosed

In 16929:

Split core and sfcgal tests allowing to run one w/out the other

Closes #4200

Note: See TracTickets for help on using tickets.