aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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