run_test.sh: Match color coding for PASS/SKIP/FAIL
The run_test.sh script greps for PASS/SKIP/FAIL messages in the test
output. It must avoid matching other instances of these words, eg.
FAILED,[SKIP], etc. Currently it only avoids a colon afterwards but this
needs to be generalized to use with non-kvm-unit-tests tests, like
kselftests. Since other instances never use coloring, at least for now,
match on the \e escape byte instead.
Bug: 193407077
Test: make test
Change-Id: I8fc4450c3dcbb01784fca26416f6711cd9ebedd7
1 file changed