chiark / gitweb /
833753a550c6ac1c9b92035c86048f944a1e789f
[autopkgtest.git] / runner / adt-testreport-cronjob
1 #!/bin/bash
2 #
3 #  This script expects to be given at least two arguments:
4 #     directory to cd to
5 #     main config file for adt-testreport-runloop which sets PATH if need be
6 #     remaining arguments are passed through to a-t-r unchanged
7
8 set -e
9 cd "$1"
10 shift
11 . "$1"
12 exec >>var/overall.log 2>&1
13 test -f go
14 with-lock-ex -q cronjob-lock \
15  adt-testreport-runloop max_test_count=100 "$@"