1
0
Files
gcc-14/debian/reduce-test-diff.awk
Konstantin Demin c2c1923c7b initial import from Debian
version: 14.3.0-5
commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
2025-08-11 15:00:09 +03:00

34 lines
355 B
Awk
Executable File

#! /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
}