зеркало из https://github.com/mozilla/pjs.git
QAstatus file now made at the right place (global Exit()) and putting
killed info in as well partial fix for 122632 r=wtc
This commit is contained in:
Родитель
d15ebe6a3f
Коммит
2d5741ee27
|
@ -1323,7 +1323,18 @@ Exit()
|
|||
fi
|
||||
#chmod a+rw ${RESULTDIR} ${RESULTDIR}/* ${RESULTDIR}/*/* &
|
||||
if [ -n "$O_TBX" -a "$O_TBX" = "ON" ] ; then
|
||||
rm ${TESTDIR}/QAstatus
|
||||
|
||||
if [ "$1" = "killed... cleaning up..." ] ; then
|
||||
echo "QA killed" >${TESTDIR}/QAstatus
|
||||
elif [ "$TBX_EXIT" = 0 ] ; then
|
||||
echo "QA passed" >${TESTDIR}/QAstatus
|
||||
else
|
||||
echo "QA failed" >${TESTDIR}/QAstatus
|
||||
fi
|
||||
|
||||
exit $TBX_EXIT
|
||||
|
||||
else
|
||||
exit
|
||||
fi
|
||||
|
|
|
@ -928,12 +928,6 @@ qa_stat_init
|
|||
|
||||
if [ "$O_TBX" = "ON" -o "$O_LOCAL" = "ON" ] ; then
|
||||
tbx_main
|
||||
rm $RESULTDIR/QAstatus
|
||||
if [ $TBX_EXIT = 0 ] ; then
|
||||
echo "QA passed" >${TESTDIR}/QAstatus
|
||||
else
|
||||
echo "QA failed" >${TESTDIR}/QAstatus
|
||||
fi
|
||||
else
|
||||
qa_stat_main
|
||||
fi
|
||||
|
|
Загрузка…
Ссылка в новой задаче