Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cduce
cduce
Commits
9eaa25f4
Commit
9eaa25f4
authored
Feb 28, 2014
by
Julien Lopez
Browse files
Minor fix of the test suite
parent
a3dc83e9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile.distrib
View file @
9eaa25f4
...
...
@@ -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
...
...
tests/misc/memento.cd
View file @
9eaa25f4
...
...
@@ -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)
| (_,[]) -> []
...
...
tests/misc/memento.xml
View file @
9eaa25f4
<page
filename=
"memento.html"
>
<page
filename=
"
tests/misc/
memento.html"
>
<title>
CDuce memento
</title>
<box>
...
...
tests/test.sh
View file @
9eaa25f4
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment