mxml/test/dotest.sh
Michael R Sweet f7fdbeb2c9 Fix support for @private@, and make it universal for all things.
mxmldoc.c:
    - find_public(): Added
    - scan_file(): Revert previous @private@ changes, clear
      typedefnode after we assign a comment, and remove
      unnecessary @private@ comment check.
    - write_documentation(): Use find_public() instead of
      mxmlFindElement() when enumerating public types, structs,
      etc.

test/dotest.sh:
    - Run "make mxmldoc-static" so that the test uses a current
      executable.

test/function.cxx:
    - Add @private@ function.

test/struct.cxx:
    - Add @private@ struct.

test/type.cxx:
    - Added (simple typedef types)
2005-11-30 15:31:58 +00:00

15 lines
280 B
Bash
Executable File

#!/bin/sh
(cd ..; make mxmldoc-static)
if test $# -gt 0; then
files=$*
else
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