view tools/check/Makefile @ 7238:971e7c7411b3

Raise an exception if an error appears on the pipes to our children, and make
sure that the child's pipes are closed even under that exception. Move the
handling of POLLHUP to the end of the loop, so that we guarantee to read any
remaining data from the child if POLLHUP and POLLIN appear at the same time.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Thu Oct 06 10:13:11 2005 +0100 (2005-10-06)
parents 0a4b76b6b5a0
children b454a09cddb1
line source
2 all: build
4 # Check this machine is OK for building on.
5 build:
6 ./chk build
8 # Check this machine is OK for installing on.
9 # DO NOT use this check from 'make install' in the parent
10 # directory, as that target can be used to make an installable
11 # copy rather than actually installing.
12 install:
13 ./chk install
15 clean:
16 ./chk clean