From d17bd6a4838b0b181582c23e16c2225277ac1719 Mon Sep 17 00:00:00 2001 From: herbelin Date: Thu, 28 Dec 2006 19:56:31 +0000 Subject: 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 --- test-suite/check | 2 ++ test-suite/complexity/evars_subst.v | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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` diff --git a/test-suite/complexity/evars_subst.v b/test-suite/complexity/evars_subst.v index d79d9f0e00..6f9f86a95c 100644 --- a/test-suite/complexity/evars_subst.v +++ b/test-suite/complexity/evars_subst.v @@ -20,7 +20,7 @@ Variable P : Set -> Set. Variable f : forall A : Set, A -> P A. -Check +Time Check let _ := f _ 0 in let _ := f _ 0 in let _ := f _ 0 in -- cgit v1.2.3