[postgis-devel] Make installcheck

Sandro Santilli strk at kbt.io
Wed Mar 13 02:49:25 PDT 2019


On Sat, Mar 09, 2019 at 04:51:13PM -0800, Bruce Rindahl wrote:
> What is make installcheck?

Checks sanity and functionality of system-installed PostGIS.

Specifically, it checks the EXTENSION way of installing PostGIS
(which cannot be tested w/out system-installing anyway).

> Near the end of a make check I get :
> 
> ---- Making check in utils
> make[1]: Entering directory '/home/pi/postgis-3.0.0dev/utils'
> "make check" is not supported.
> Do "make install", then "make installcheck" instead.
> make[1]: Leaving directory '/home/pi/postgis-3.0.0dev/utils'

The above is not true, is a message coming from PGXS I think.
We're overriding that "check" target to actually implement it.

I'm not sure why we're using PGXS under utils/ anyway I see
I removed the overrides in r14125, referencing ticket #3284.
Feel free to dig further to find out the rationale for that
and if it still holds.

> pi at rpi3:~/postgis-3.0.0dev/utils$ sudo make installcheck
>                 make: Nothing to be done for 'installcheck'.

Sounds ok, we don't have installchecks for utils/ in particular

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   https://strk.kbt.io/services.html


More information about the postgis-devel mailing list