aboutsummaryrefslogtreecommitdiff
path: root/test-suite/check
diff options
context:
space:
mode:
authorherbelin2006-12-28 19:56:31 +0000
committerherbelin2006-12-28 19:56:31 +0000
commitd17bd6a4838b0b181582c23e16c2225277ac1719 (patch)
tree7be146826f6da0f7f83f1ae3ccd25874e91778f9 /test-suite/check
parent380acdd0100d55cd908a96731365c1ce287e2d10 (diff)
Correction petits bugs du check de la test-suite
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9466 85f007b7-540e-0410-9357-904b9bb8a0f7
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`