summaryrefslogtreecommitdiff
path: root/devtools/gpsd-debian-regressions.sh
blob: af7ea4d377583f92c9cf818ed20d8cdb3ceb7734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 || true
grep -- '--- ./test' * | sed 's,^gpsd_[^_]*_\([^.]*\).*\./test/\([^.]*\).*,\1 \2,' | sort -u
cd ${OLDPWD}
rm -rf ${TMPDIR}