Skip to content
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

make installcheck doesn't work #6

Open
alvherre opened this issue Jul 16, 2021 · 3 comments
Open

make installcheck doesn't work #6

alvherre opened this issue Jul 16, 2021 · 3 comments
Assignees

Comments

@alvherre
Copy link

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
Copy link
Contributor

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

@neel5481
Copy link
Contributor

@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
Copy link
Contributor

dpage commented Sep 14, 2023

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

REGRESS = system_stats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants