EnterpriseDB / system_stats

A Postgres extension for exposing system metrics such as CPU, memory and disk information
Other
111 stars 24 forks source link

`make installcheck` doesn't work #6

Open alvherre opened 3 years ago

alvherre commented 3 years ago

Out of habit, I used make check after compiling and installing the package. That told me to run make installcheck instead, so I did that. However, I got this:

perhan: system_stats 0$ make installcheck
"Platform is: linux"
/home/alvherre/Code/pgsql-install/REL_11_STABLE/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=./ --bindir='/home/alvherre/Code/pgsql-install/REL_11_STABLE/bin'    --dbname=contrib_regression system_stats
(using postmaster on Unix socket, port 55442)
============== dropping database "contrib_regression" ==============
DROP DATABASE
============== creating database "contrib_regression" ==============
CREATE DATABASE
ALTER DATABASE
============== running regression test queries        ==============
test system_stats                 ... /bin/sh: 1: cannot open /home/alvherre/Code/system_stats/sql/system_stats.sql: No such file

The sql/system_stats.sql file does indeed not exist and it has never existed in the repository.

dpage-edb commented 1 year ago

Neel, do you have the missing file kicking around anywhere?

neel5481 commented 10 months ago

@dpage-edb I didn't find anywhere locally and I also checked in current project structure there is no system_stats.sql file, I am not sure why it is complaining.

dpage commented 10 months ago

Ah, OK. I'd hazard a guess it's because the Makefile has this in it:

REGRESS = system_stats