summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cb4bda0)
Catch case of missing bench, indicative of a crash or assert.
No functional change
if [ $# -gt 0 ]; then
# compare to given reference
if [ "$1" != "$signature" ]; then
if [ $# -gt 0 ]; then
# compare to given reference
if [ "$1" != "$signature" ]; then
- echo "signature mismatch: reference $1 obtained $signature"
+ if [ "x$1" == "x" ]; then
+ echo "No signature obtained from bench. Code crashed or assert triggered ?"
+ else
+ echo "signature mismatch: reference $1 obtained: $signature ."
+ fi
exit 1
else
echo "signature OK: $signature"
exit 1
else
echo "signature OK: $signature"