aboutsummaryrefslogtreecommitdiff
path: root/test-suite/check
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/check')
-rwxr-xr-xtest-suite/check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-suite/check b/test-suite/check
index 2f6738a0fc..9b05556b8d 100755
--- a/test-suite/check
+++ b/test-suite/check
@@ -119,6 +119,8 @@ test_complexity() {
res=`$command $f 2>&1 | sed -n -e "s/Finished transaction in .*(\([0-9]\)\.\([0-9]*\)u.*)/\1\2/p" | head -1`
if [ $? != 0 ]; then
echo "Error! (should be accepted)"
+ elif [ "$res" = "" ]; then
+ echo "Error! (couldn't find a time measure)"
else
# express effective time in cenths of seconds
n=`echo -n $res | wc -c`