for t in test* ; do
  if [ -d $t ]; then
    echo cc $t
	pushd $t
	./cc || { popd; echo $t failed; exit 1; }
	popd
  fi
done
