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:
Steve Fink 2016-06-01 16:53:51 -07:00
Родитель 511408a877
Коммит 3b16876256
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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