Add a temp-install prerequisite to "check"-like targets not having one.

Noah Misch <noah@leadboat.com>

Commit: 971983f42fe6e8b90490a76a649f0c92905d7d47
Author: Noah Misch <noah@leadboat.com>
Date: 2017-11-06T02:52:38Z
Releases: 9.6.6
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