mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 484321 - Sisysphus - JavaScript Tests - support timeout and crash exclusion patterns.
This commit is contained in:
parent
4596b84af7
commit
be13455b0d
@ -373,15 +373,13 @@ pattern="TEST_BRANCH=($branch|[.][*]), TEST_REPO=($repo|[.][*]), TEST_BUILDTYPE=
|
||||
|
||||
if [[ -z "$timeouts" ]]; then
|
||||
echo "# exclude tests that time out" >> $excludetestsfile
|
||||
# echo "$pattern .*TEST_EXITSTATUS=TIMED OUT," >> $excludetestsfile
|
||||
egrep "$pattern .*TEST_EXITSTATUS=TIMED OUT," failures.txt | \
|
||||
egrep "$pattern .*TEST_EXITSTATUS=[^,]*TIMED OUT[^,]*," failures.txt | \
|
||||
sed 's/.*TEST_ID=\([^,]*\),.*/\1/' | sort -u >> $excludetestsfile
|
||||
fi
|
||||
|
||||
if [[ -z "$crashes" ]]; then
|
||||
echo "# exclude tests that crash" >> $excludetestsfile
|
||||
# echo "$pattern .*TEST_EXITSTATUS=(CRASHED|ABNORMAL)" >> $excludetestsfile
|
||||
egrep "$pattern .*TEST_EXITSTATUS=(CRASHED|ABNORMAL)" failures.txt | \
|
||||
egrep "$pattern .*TEST_EXITSTATUS=[^,]*(CRASHED|ABNORMAL)[^,]*" failures.txt | \
|
||||
sed 's/.*TEST_ID=\([^,]*\),.*/\1/' | sort -u >> $excludetestsfile
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user