This commit is contained in:
Kelly Lucas 2010-07-15 15:47:52 -07:00
parent d27f9039b5
commit ee04e47a48

View File

@ -61,6 +61,10 @@ function main() {
tar --bzip2 -xf autotest.tar.bz2 tar --bzip2 -xf autotest.tar.bz2
# Create HTML and PDF test documentation for HWQual Tests. # Create HTML and PDF test documentation for HWQual Tests.
# We need doxygen 1.6.1 or later to run CreateDocs.py
doxygen_version=$(doxygen --version)
if [[ $? -eq 0 ]]; then
if [[ "$doxygen_version" > "1.6.0" ]]; then
echo "Generating test documentation..." echo "Generating test documentation..."
cd "${docgen_dir}" cd "${docgen_dir}"
./CreateDocs.py --docversion ${FLAGS_output_tag} --html ${html_target} ./CreateDocs.py --docversion ${FLAGS_output_tag} --html ${html_target}
@ -68,6 +72,12 @@ function main() {
mv latex/refman.pdf "${html_target}/HWQual.pdf" mv latex/refman.pdf "${html_target}/HWQual.pdf"
# Clean up the generated files. # Clean up the generated files.
rm -rf testsource latex *.log rm -rf testsource latex *.log
else
warn "doxygen is $doxygen_version, should be 1.6.1 or later."
fi
else
warn "doxygen is not installed. Install version 1.6.1 or later."
fi
cd "${TMP}" cd "${TMP}"