Check boot_fail_threshold against new_fails only.

If several robot tests each call obmc boot test to do a boot and the
first one fails, all subsequent calls were being counted as failures
because the total number of failures is greater than the boot failure
threshold.  Made a change to compare boot_fail_threshold to new_fail,
which is the number of failures that occurred only on the latest fresh
call to obmc_boot_test.

Change-Id: Ifef2d5098bcde16dbd736bb7bac0aa132660af58
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
1 file changed