File: convertlog.sh

package info (click to toggle)
glibc 2.19-16
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 203,652 kB
  • sloc: ansic: 969,800; asm: 241,205; sh: 10,063; makefile: 8,471; cpp: 3,595; perl: 2,077; pascal: 1,839; awk: 1,704; yacc: 317; sed: 73
file content (15 lines) | stat: -rwxr-xr-x 505 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

if [ $# -ne '1' ]; then
  echo -e "\nUsage: Converts a log-test-* file into a test-results-* file."
  echo -e "$0 : < Input testsuite log file >\n";
  exit 1
fi;

echo '#'
echo '# Testsuite failures, someone should be working towards'
echo '# fixing these! They are listed here for the purpose of'
echo '# regression testing during builds.'
echo '# Format: <Failed test>, Error <Make error code> [(ignored)]'
echo '#'
grep 'make\[.*\]:.* \[/.*' $1 | sed -e's,^.*/,,g' -e 's/\]/,/g' | sort -u