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 }