comparison run-from-build.sh @ 778:e373d2b6d0b8

Add killtree and make stuff use it. Update smoketest-all.sh to use doforklog, allowing FORK=1 to run stuff in parallel.
author Rob Landley <rob@landley.net>
date Fri, 03 Jul 2009 05:29:11 -0500
parents d0157468f73d
children 6caf372a8b12
comparison
equal deleted inserted replaced
777:879353d1cfba 778:e373d2b6d0b8
17 # A little paranoia. 17 # A little paranoia.
18 [ -f "image-${ARCH}.ext2" ] && fsck.ext2 -y "image-${ARCH}.ext2" </dev/null 18 [ -f "image-${ARCH}.ext2" ] && fsck.ext2 -y "image-${ARCH}.ext2" </dev/null
19 19
20 # And run it, using the distccd we built (if necessary) and the cross-compiler. 20 # And run it, using the distccd we built (if necessary) and the cross-compiler.
21 21
22 trap "pkill -P$$" EXIT 22 trap "killtree $$" EXIT
23 23
24 ./run-emulator.sh --make-hdb 2048 --memory 256 --with-distcc \ 24 ./run-emulator.sh --make-hdb 2048 --memory 256 --with-distcc \
25 "${BUILD}/cross-compiler-${ARCH}" 25 "${BUILD}/cross-compiler-${ARCH}"