Grumble. It looks like this test is expecting to be invoked
from the Makefile only. Is this a legal assumption? There's no
supported way to run some tests directly outside of the Makefile,
or is this test busted?
To run this test outside of the makefile, you'd do:
# SYSTEMTAP_RUNTIME=/usr/local/share/systemtap/runtime \
SYSTEMTAP_TAPSET=/usr/local/share/systemtap/tapset \
LD_LIBRARY_PATH=/usr/local/lib/systemtap \
runtest --tool_opts install --tool systemtap \
--srcdir `pwd` systemtap.base/cache.exp
(You might need to customize the above command line for the way you
compile - the above assumes an install location of /usr/local and that
you compile in your source directory.)
Most other tests probably wouldn't need the environment variables, but
this one does.
BTW, the above command line is just running the test the way the
makefile would - do "make -n installcheck".