Devuan fork of gpsd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
614 B

  1. #!/bin/bash
  2. # This file is Copyright (c)2010 by the GPSD project
  3. # BSD terms apply: see the file COPYING in the distribution root for details.
  4. set -e
  5. logs='last'
  6. if [ -n "$1" ]; then
  7. logs=$1
  8. fi
  9. if [ ! -x /usr/bin/getbuildlog ]; then
  10. echo 'Please install the devscripts package!'
  11. exit 1
  12. fi
  13. TMPDIR=`mktemp -d`
  14. OLDPWD=`pwd`
  15. cd ${TMPDIR}
  16. getbuildlog gpsd $logs || true
  17. grep -c -E -- '--- (./)?test' * | grep -E ':0$' | sed 's,^gpsd_[^_]*_\([^.]*\)\.log:0,\1: no regressions,'
  18. grep -E -- '--- (./)?test' * | sed 's,\s2013.*,,;s,^gpsd_[^_]*_\([^.]*\)\.log:--- ,\1 ,' | sort -u
  19. cd ${OLDPWD}
  20. rm -rf ${TMPDIR}