ref: 3aac5e0fae79b4376225440f0d302703c526b485
parent: 8fb4048241690ce25bdc79c6d20bbbf65bac9ca5
author: Martin Storsjö <[email protected]>
date: Mon Dec 15 11:38:20 EST 2014
Properly update hashes
--- a/test/encoder_binary_comparison/Scripts/run_BinarySHA1Comparison.sh
+++ b/test/encoder_binary_comparison/Scripts/run_BinarySHA1Comparison.sh
@@ -325,12 +325,11 @@
${TargetBitstreamSize}, ${BenchmarkBitstreamSize}, ${TargetYUVSize}, ${BenchmarkYUVSize},\
${CaseInfo}, ${EncoderCommand} "
echo "${PassStatusInfo}">>${AllCasePassStatusFile}
- if [ "$DiffFlag" = "0:passed!" ]
+ if [ "$DiffFlag" != "0:passed!" ]
then
- echo "${TargetSHA1}, ${TargetMD5},${TargetBitstreamSize}, ${TargetYUVSize},${CaseInfo}">>${UpdateSHA1TableFile}
- else
echo "${PassStatusInfo}">>${UnpassCaseFile}
fi
+ echo "${TargetSHA1}, ${TargetMD5},${TargetBitstreamSize}, ${TargetYUVSize},${CaseInfo}">>${UpdateSHA1TableFile}
./run_SafeDelete.sh ${BitstreamTarget} >>${AllCaseConsoleLogFile}
}
#usage runOutputPassNum