зеркало из https://github.com/mozilla/gecko-dev.git
No bug. Prevent shell command echoing from mangling hazard build result output lines.
MozReview-Commit-ID: I4UrhkuqV94 --HG-- extra : rebase_source : e8c29bbe408f123b75dfd138565371d8622176e4
This commit is contained in:
Родитель
511408a877
Коммит
3b16876256
|
@ -125,9 +125,11 @@ function check_hazards () {
|
|||
NUM_UNSAFE=$(grep -c '^Function.*takes unsafe address of unrooted' "$1"/refs.txt)
|
||||
NUM_UNNECESSARY=$(grep -c '^Function.* has unnecessary root' "$1"/unnecessary.txt)
|
||||
|
||||
set +x
|
||||
echo "TinderboxPrint: rooting hazards<br/>$NUM_HAZARDS"
|
||||
echo "TinderboxPrint: unsafe references to unrooted GC pointers<br/>$NUM_UNSAFE"
|
||||
echo "TinderboxPrint: unnecessary roots<br/>$NUM_UNSAFE"
|
||||
set -x
|
||||
|
||||
if [ $NUM_HAZARDS -gt 0 ]; then
|
||||
echo "TEST-UNEXPECTED-FAIL $NUM_HAZARDS hazards detected" >&2
|
||||
|
|
Загрузка…
Ссылка в новой задаче