aboutsummaryrefslogtreecommitdiff
path: root/test-suite/check
diff options
context:
space:
mode:
authorherbelin2005-12-22 21:25:59 +0000
committerherbelin2005-12-22 21:25:59 +0000
commit1b00477f148b57bb8d3f1af5a624e98edeee4f9a (patch)
treed61f8331c0778bf81fa7f7eddff6d9413c442ac0 /test-suite/check
parent749fc73f1fcc1690532e8a38af0a635341a6e791 (diff)
option '-top dir' now works also in batch mode; it is even necessary to ensure that loaded vernac definitions are defined inside a module
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7700 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/check')
-rwxr-xr-xtest-suite/check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test-suite/check b/test-suite/check
index 91007ef45d..99893f8826 100755
--- a/test-suite/check
+++ b/test-suite/check
@@ -8,7 +8,7 @@ else
coqtop="../bin/coqtop -q -batch"
fi
-command="$coqtop -load-vernac-source"
+command="$coqtop -top Top -load-vernac-source"
# on compte le nombre de tests et de succès
nbtests=0
@@ -20,7 +20,7 @@ test_success() {
for f in $1/*.v; do
nbtests=`expr $nbtests + 1`
printf " "$f"..."
- $command $f $2 > /dev/null 2>&1
+ $command $f $2 > /dev/null 2>&1
if [ $? = 0 ]; then
echo "Ok"
nbtestsok=`expr $nbtestsok + 1`