mirror of
https://github.com/siemens-mobile-hacks/pmb887x-dev.git
synced 2026-11-25 18:37:25 +00:00
16 lines
235 B
Awk
16 lines
235 B
Awk
{
|
|
print
|
|
fflush()
|
|
|
|
line = $0
|
|
gsub(/\033\[[0-9;]*m/, "", line)
|
|
if (line != "")
|
|
last = line
|
|
}
|
|
|
|
END {
|
|
if (last != "# result: PASS (0 failed)") {
|
|
print "Unit test did not finish with PASS (0 failed)" > "/dev/stderr"
|
|
exit 1
|
|
}
|
|
}
|