initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
33
debian/reduce-test-diff.awk
vendored
Executable file
33
debian/reduce-test-diff.awk
vendored
Executable file
@@ -0,0 +1,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
|
||||
}
|
Reference in New Issue
Block a user