Commit a4e81201 authored by Michael R Sweet's avatar Michael R Sweet

Finish up framed output.

parent 1fed22b0
This diff is collapsed.
......@@ -71,7 +71,8 @@ class foo_c : public bar_c // Foo class derived from bar
}
// 'foo_c::foo_c()' - Create a foo_c class.
foo_c::foo_c(float f, int b)
foo_c::foo_c(float f, // I - Value of foo
int b) // I - Value of bar
{
foo = f;
bar = b;
......
......@@ -9,6 +9,7 @@ while test $# -gt 0; do
shift
case "$arg" in
-f) framed="--framed framed" ;;
-g) mode="gdb" ;;
-v) mode="valgrind" ;;
*.h | *.c | *.cxx) files="$files $arg" ;;
......@@ -27,18 +28,18 @@ rm -f test.xml
case "$mode" in
gdb)
echo "run test.xml $files >test.html 2>test.log" >.gdbcmds
echo "run $framed 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 \
../mxmldoc-static $framed test.xml $files \
>test.html 2>test.log 3>test.valgrind
;;
*)
../mxmldoc-static test.xml $files >test.html 2>test.log
../mxmldoc-static $framed test.xml $files >test.html 2>test.log
;;
esac
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