Add a temp-install prerequisite to "check"-like targets not having one.
Noah Misch <noah@leadboat.com>
Add a temp-install prerequisite to "check"-like targets not having one. Makefile.global assigns this prerequisite to every target named "check", but similar targets must mention it explicitly. Affected targets failed, tested $PATH binaries, or tested a stale temporary installation. The src/test/modules examples worked properly when called as "make -C src/test/modules/$FOO check", but "make -j" allowed the test to start before the temporary installation was in place. Back-patch to 9.5, where commit dcae5faccab64776376d354decda0017c648bb53 introduced the shared temp-install.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/test/Makefile | modified | +1 −1 |
| src/test/locale/Makefile | modified | +1 −0 |
| src/test/modules/brin/Makefile | modified | +1 −1 |
| src/test/regress/GNUmakefile | modified | +2 −2 |