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

Noah Misch <noah@leadboat.com>

Commit: 937f67800a7d3c30870af7b1115a76f44bc26e78
Author: Noah Misch <noah@leadboat.com>
Date: 2017-11-06T02:51:15Z
Releases: 10.1
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