aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2006-12-28 19:56:31 +0000
committerherbelin2006-12-28 19:56:31 +0000
commitd17bd6a4838b0b181582c23e16c2225277ac1719 (patch)
tree7be146826f6da0f7f83f1ae3ccd25874e91778f9
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
-rwxr-xr-xtest-suite/check2
-rw-r--r--test-suite/complexity/evars_subst.v2
2 files changed, 3 insertions, 1 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`
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