aboutsummaryrefslogtreecommitdiff
path: root/test-suite/check
diff options
context:
space:
mode:
authorherbelin2009-11-26 16:28:17 +0000
committerherbelin2009-11-26 16:28:17 +0000
commit23f26304a9132e09105d6580a1d3caf72053a859 (patch)
treea079aa0c379784220020694ef94b07ebd5b51401 /test-suite/check
parentc84fd703d6d00494e62b0fa5fb609cda67132133 (diff)
Fixing xml theory file export (was not consistent with coqdoc file
naming heuristic). Added a corresponding test. Note: maybe should the generated .v file for exporting the theory be made of a valid ident if ever coqdoc eventually follows coq convention: currently it has name foo.theory.v which is not coqc-compilable. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12543 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/check')
-rwxr-xr-xtest-suite/check19
1 files changed, 19 insertions, 0 deletions
diff --git a/test-suite/check b/test-suite/check
index efac178c07..d0c5790bb1 100755
--- a/test-suite/check
+++ b/test-suite/check
@@ -4,8 +4,10 @@
if [ "$1" = -byte ]; then
coqtop="../bin/coqtop.byte -boot -q -batch -I prerequisite"
+ bincoqc="../bin/coqc -byte -I prerequisite"
else
coqtop="../bin/coqtop -boot -q -batch -I prerequisite"
+ bincoqc="../bin/coqc -I prerequisite"
fi
command="$coqtop -top Top -load-vernac-source"
@@ -249,6 +251,21 @@ prepare_tests () {
done
}
+test_misc () {
+ # Non-standard features
+
+ # Test xml compilation
+ printf " xml..."
+ COQ_XML_LIBRARY_ROOT=misc/xml $bincoqc -xml misc/berardi_test > /dev/null 2>&1
+ if [ ! -d misc/xml ]; then
+ printf "failed\n"
+ else
+ printf "apparently ok\n"
+ nbtestsok=`expr $nbtestsok + 1`
+ rm -r misc/xml
+ fi
+}
+
# Programme principal
echo "Preparing tests"
@@ -267,6 +284,8 @@ echo "Interactive tests"
test_interactive interactive
echo "Micromega tests"
test_success micromega
+echo "Miscellaneous tests"
+test_misc
# We give a chance to disable the complexity tests which may cause
# random build failures on build farms