/usr/src/gcc-4.7/debian/reduce-test-diff.awk is in gcc-4.7-source 4.7.4-3ubuntu12.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #! /usr/bin/gawk -f
BEGIN {
skip=0
warn=0
}
/^-(FAIL|ERROR|UNRESOLVED|WARNING)/ {
next
}
# only compare gcc, g++, g77 and objc results
/=== treelang tests ===/ {
skip=1
}
# omit extra files appended to test-summary
/^\+Compiler version/ {
skip=1
}
skip == 0 {
print
next
}
/^\+(FAIL|ERROR|UNRESOLVED|WARNING)/ {
warn=1
}
END {
exit warn
}
|