5 PATH=/home/iwj/autopkgtest/runner:/usr/local/sbin:/usr/sbin:$PATH
16 for x in "$@"; do eval "$x"; done
18 fail () { printf >&2 "%s\n" "$*"; exit 127; }
19 progress () { printf "========== %s ==========\n" "$1"; }
20 x () { printf "+ %s\n" "$*"; "$@"; }
21 x2 () { printf >&2 "+ %s\n" "$*"; "$@"; }
24 remain=$1; interval=$2; on_not=$3; shift;shift;shift
25 progress "await ($interval/$remain) $*"
28 if "$@"; then return; fi
29 remain=$(( $remain - $interval ))
30 if [ $remain -lt 0 ]; then fail "wait timed out for $*"; fi
38 xoptslist="source gutsy, target=source:binary gutsy, target=binary-amd64"
42 while $any_tests_ok && ($go_anyway || test -f go) && test $test_count -lt $max_test_count; do
46 xopts="${xoptslist%%:*}"
47 xopts_opts="${xopts#*,}"
48 xoptslist="${xoptslist#*:}:$xopts"
49 printf "considering (%s) " "$xopts_opts"
52 for x in ${xopts%%,*}; do
53 if eval \$${x}_tests_ok; then :; else
54 printf " skipping because of %s\n" "$x"
59 if $anybroken; then continue; fi
61 adt-testreport-onepackage /home/iwj/adt-play/onepackage-config \
62 adtrun_extra_opts=--built-binaries-filter=__ \
63 interactive=false $xopts_opts
65 test_count=$(( $test_count + 1 ))