diff options
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/README | 5 | ||||
-rwxr-xr-x | devtools/gpsd-debian-regressions.sh | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/devtools/README b/devtools/README index 31a703b4..bbf3dd3f 100644 --- a/devtools/README +++ b/devtools/README @@ -46,6 +46,11 @@ The files prefixed with flock are the scripts, data files, and documentation for the flock-test suite. Read flock-instructions for explanation. +== gpsd-debian-regressions.sh == + +Retrieves the latest build logs from Debian's buildds and extracts a +list of failed regression tests, sorted by architecture. + == leapsecond.py == Gets the current leap-second correction forom IERS and/or the USNO. diff --git a/devtools/gpsd-debian-regressions.sh b/devtools/gpsd-debian-regressions.sh new file mode 100755 index 00000000..0ffc1572 --- /dev/null +++ b/devtools/gpsd-debian-regressions.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# This file is Copyright (c)2010 by the GPSD project +# BSD terms apply: see the file COPYING in the distribution root for details. + +set -e + +if [ ! -x /usr/bin/getbuildlog ]; then + echo 'Please install the devscripts package!' + exit 1 +fi + +TMPDIR=`mktemp -d` +OLDPWD=`pwd` + +cd ${TMPDIR} +getbuildlog gpsd last 1>/dev/null 2>&1 +grep -- '--- ./test' * | sed 's,^gpsd_[^_]*_\([^.]*\).*\./test/\([^.]*\).*,\1 \2,' | sort -u +cd ${OLDPWD} +rm -rf ${TMPDIR} + |