Add --heading option to place contact before table-of-contents and intro. Tweak the mxmldoc test suite. Use " instead of ' for attribute values. Quote titles, etc. as needed. Move TOC and HTML header generation to separate functions in preparation for frame support.pull/193/head
parent
1e2bbbc851
commit
ee8df0fe52
File diff suppressed because it is too large
Load Diff
@ -1,14 +1,44 @@ |
||||
#!/bin/sh |
||||
(cd ..; make mxmldoc-static) |
||||
|
||||
if test $# -gt 0; then |
||||
files=$* |
||||
else |
||||
files="" |
||||
mode="" |
||||
|
||||
while test $# -gt 0; do |
||||
arg="$1" |
||||
shift |
||||
|
||||
case "$arg" in |
||||
-g) mode="gdb" ;; |
||||
-v) mode="valgrind" ;; |
||||
*.h | *.c | *.cxx) files="$files $arg" ;; |
||||
*) |
||||
echo "Usage: ./dotest.sh [-g] [-v] [files]" |
||||
exit 1 |
||||
;; |
||||
esac |
||||
done |
||||
|
||||
if test "$files" = ""; then |
||||
files=*.cxx |
||||
fi |
||||
|
||||
rm -f test.xml |
||||
#../mxmldoc-static test.xml $files >test.html 2>test.log |
||||
valgrind --log-fd=3 --leak-check=yes ../mxmldoc-static test.xml \ |
||||
$files >test.html 2>test.log 3>test.valgrind |
||||
|
||||
case "$mode" in |
||||
gdb) |
||||
echo "run test.xml $files >test.html 2>test.log" >.gdbcmds |
||||
gdb -x .gdbcmds ../mxmldoc-static |
||||
;; |
||||
|
||||
valgrind) |
||||
valgrind --log-fd=3 --leak-check=yes \ |
||||
../mxmldoc-static test.xml $files \ |
||||
>test.html 2>test.log 3>test.valgrind |
||||
;; |
||||
|
||||
*) |
||||
../mxmldoc-static test.xml $files >test.html 2>test.log |
||||
;; |
||||
esac |
||||
|
||||
|
Loading…
Reference in new issue