Commit 9eaa25f4 authored by Julien Lopez's avatar Julien Lopez

Minor fix of the test suite

parent a3dc83e9
......@@ -291,7 +291,7 @@ clean:
rm -f META
rm -rf lib
$(RM) tests/schema/regtest/test.cd tests/schema/regtest/test.log
$(RM) tests/schema/test.cd tests/schema/test.log
$(RM) tests/schema/test.cd tests/schema/test.log tests/misc/log tests/misc/memento.html
$(RM) oUnit-* tests/ocaml/a/c.ml tests/ocaml/a/c.cdo tests/ocaml/a/c.cmi tests/ocaml/a/c.cmo
for i in $(OUNIT_TESTS); do $(RM) `echo tests/ocaml/$$i/$$i tests/ocaml/$$i/$$i.ml tests/ocaml/$$i/$$i.c[dm][oxi] tests/ocaml/$$i/$${i}test.cm[io]`; done
......
......@@ -79,7 +79,7 @@ let fun summary (Content -> [Block*])
let (fname, title, content) =
match load_xml "memento.xml" with
match load_xml "tests/misc/memento.xml" with
| <page filename=f>[ <title>t ; c ] & Page ->
let fun aux ((Int,Content) -> Content)
| (_,[]) -> []
......
<page filename="memento.html">
<page filename="tests/misc/memento.html">
<title>CDuce memento</title>
<box>
......
......@@ -83,18 +83,21 @@ SUCCESSMISC=0
TOTALMISC=0
MISCLOG=$ROOT/misc/log
GOODTESTS="$ROOT/misc/addrbook.cd $ROOT/misc/biblio.cd\
$ROOT/misc/fixml4.3v20020920.cd $ROOT/misc/funs.cd $ROOT/misc/html2latex.cd\
$ROOT/misc/IFX130.cd $ROOT/misc/integers.cd $ROOT/misc/lazy.cd\
$ROOT/misc/mc.cd $ROOT/misc/memento.cd $ROOT/misc/notes.cd $ROOT/misc/ns.cd\
$ROOT/misc/fixml4.3v20020920.cd $ROOT/misc/funs.cd $ROOT/misc/IFX130.cd\
$ROOT/misc/integers.cd $ROOT/misc/lazy.cd $ROOT/misc/mc.cd\
$ROOT/misc/memento.cd $ROOT/misc/notes.cd $ROOT/misc/ns.cd\
$ROOT/misc/overloading.cd $ROOT/misc/overloading2.cd $ROOT/misc/patterns.cd\
$ROOT/misc/security.cd $ROOT/misc/str.cd $ROOT/misc/stress_opt_arg.cd\
$ROOT/misc/stress_opt_seq.cd $ROOT/misc/vouill.cd $ROOT/misc/web.cd\
$ROOT/misc/wp.cd $ROOT/misc/xhtml.cd $ROOT/misc/xhtml-trans.cd\
$ROOT/misc/xtrans.cd $ROOT/misc/ref.cd"
$ROOT/misc/wp.cd $ROOT/misc/xtrans.cd $ROOT/misc/ref.cd"
BADTESTS="$ROOT/misc/bugs_prod.cd $ROOT/misc/eval_concat.cd"
EXTENDEDTESTS="$ROOT/misc/html2latex.cd $ROOT/misc/xhtml.cd\
$ROOT/misc/xhtml-trans.cd"
echo > $MISCLOG
if test $EXTENDED = "true"; then GOODTESTS="$GOODTESTS $EXTENDEDTESTS"; fi
for i in $GOODTESTS; do
TOTALMISC=$(($TOTALMISC+1))
echo "==============`echo $i | rev | cut -d "/" -f -1 | rev`===============" >> $MISCLOG;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment