dtc: Fix summary calculation in testsuite
dtc: Fix summary calculation in testsuite

The bookkeeping for producing the testsuite summary (total number of
tests passed, failed and so forth) is broken.  It uses $? across
several tests, but for checks after the first, the value of $? will no
longer contain the original return code, but just that from the
previous test.  This patch fixes the problem.

Signed-off-by: David Gibson <aa743a0aaec8f7d7a1f01442503957f4d7a2d634@gibson.dropbear.id.au>

DooMLoRD/android_bootable_bootloader_lk,jsr-d10/android_bootable_bootloader_lk,oubeichen/lk-v500,Blefish/android_bootable_bootloader_lk,pichina/lk,mozilla-b2g/kernel_lk,jbott/lk_gee,M1cha/mi2_lk,RonGokhale/android_lk_bootloader,mozilla-b2g/fairphone2_kernel_lk,utilite2/lk,CanarySolutions/little-kernel,Blefish/android_bootable_bootloader_lk,Redmi-dev/android_bootable_lk,CanarySolutions/little-kernel,mozilla-b2g/kernel_lk,detule/lk-g2-spr,MiCode/mi2_lk,efidroid/lk,detule/lk-g2-spr,jsr-d10/android_bootable_bootloader_lk,mozilla-b2g/fairphone2_kernel_lk,DooMLoRD/android_bootable_bootloader_lk,Foxda-Tech/polaris-bootable-bootloader-lk,efidroid/lk,idor/dk50-bootable_bootloader_lk,Foxda-Tech/polaris-bootable-bootloader-lk,detule/lk-g2-spr,idor/dk50-bootable_bootloader_lk,thornbirdblue/codeaurora_lk,MiCode/mi2_lk,idor/dk50-bootable_bootloader_lk,idor/dk50-bootable_bootloader_lk,jsr-d10/android_bootable_bootloader_lk,pichina/lk,t2m-foxfone/android_kernel_lk,thornbirdblue/codeaurora_lk,hanjae/lumiab0,t2m-foxfone/kernel_lk,lg-devs/g2-bootloader,utilite2/lk,oubeichen/lk-v500,mozilla-b2g/fairphone2_kernel_lk,Foxda-Tech/argo8-bootable-bootloader-lk,Foxda-Tech/argo8-bootable-bootloader-lk,jbott/lk_gee,M1cha/mi2_lk,t2m-foxfone/kernel_lk,zhuotong/mi2_lk_NoEmmc,pichina/lk,M1cha/lktris,jbott/lk_gee,RonGokhale/android_lk_bootloader,M1cha/android_bootable_bootloader_lk,t2m-foxfone/kernel_lk,efidroid/lk,hanjae/lumiab0,Blefish/android_bootable_bootloader_lk,t2m-foxfone/android_kernel_lk,hanjae/lumiab0,mozilla-b2g/fairphone2_kernel_lk,M1cha/android_bootable_bootloader_lk,MiCode/mi2_lk,Redmi-dev/android_bootable_lk,DooMLoRD/android_bootable_bootloader_lk,jbott/lk_gee,lg-devs/g2-bootloader,detule/lk-g2-spr,M1cha/android_bootable_bootloader_lk,pichina/lk,t2m-foxfone/android_kernel_lk,detule/lk-g2-spr,thornbirdblue/codeaurora_lk,chirayudesai/android_bootable_bootloader_lk,jbott/lk_gee,zhuotong/mi2_lk_NoEmmc,t2m-foxfone/android_kernel_lk,thornbirdblue/codeaurora_lk,DooMLoRD/android_bootable_bootloader_lk,CanarySolutions/little-kernel,chirayudesai/android_bootable_bootloader_lk,chirayudesai/android_bootable_bootloader_lk,MiCode/mi2_lk,zhuotong/mi2_lk_NoEmmc,lg-devs/g2-bootloader,M1cha/mi2_lk,t2m-foxfone/kernel_lk,utilite2/lk,chirayudesai/android_bootable_bootloader_lk,Redmi-dev/android_bootable_lk,CanarySolutions/little-kernel,Foxda-Tech/argo8-bootable-bootloader-lk,M1cha/lktris,jsr-d10/android_bootable_bootloader_lk,jsr-d9/android_kernel_lk,jsr-d9/android_kernel_lk,Blefish/android_bootable_bootloader_lk,M1cha/mi2_lk,hanjae/lumiab0,Redmi-dev/android_bootable_lk,Foxda-Tech/polaris-bootable-bootloader-lk,pichina/lk,mozilla-b2g/kernel_lk,idor/dk50-bootable_bootloader_lk,Blefish/android_bootable_bootloader_lk,CanarySolutions/little-kernel,zhuotong/mi2_lk_NoEmmc,t2m-foxfone/kernel_lk,RonGokhale/android_lk_bootloader,oubeichen/lk-v500,DooMLoRD/android_bootable_bootloader_lk,M1cha/lktris,M1cha/mi2_lk,chirayudesai/android_bootable_bootloader_lk,Foxda-Tech/polaris-bootable-bootloader-lk,hanjae/lumiab0,utilite2/lk,jsr-d9/android_kernel_lk,oubeichen/lk-v500,Redmi-dev/android_bootable_lk,jsr-d9/android_kernel_lk,lg-devs/g2-bootloader,thornbirdblue/codeaurora_lk,Foxda-Tech/polaris-bootable-bootloader-lk,M1cha/android_bootable_bootloader_lk,jsr-d9/android_kernel_lk,Foxda-Tech/argo8-bootable-bootloader-lk,mozilla-b2g/kernel_lk,jsr-d10/android_bootable_bootloader_lk,utilite2/lk,MiCode/mi2_lk,oubeichen/lk-v500,M1cha/lktris,lg-devs/g2-bootloader,mozilla-b2g/fairphone2_kernel_lk,efidroid/lk,M1cha/lktris,zhuotong/mi2_lk_NoEmmc,mozilla-b2g/kernel_lk,t2m-foxfone/android_kernel_lk,efidroid/lk,Foxda-Tech/argo8-bootable-bootloader-lk,M1cha/android_bootable_bootloader_lk,RonGokhale/android_lk_bootloader,RonGokhale/android_lk_bootloader,M1cha/android_bootable_bootloader_lk