summaryrefslogtreecommitdiff
path: root/rtems-coverage/do_coverage
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-19 18:16:17 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-05-19 18:16:17 +0000
commit3f44bc3898257fb75c04ceff96bf17cf1f493a69 (patch)
tree4a68a760e10d6c12cf99dcc3f2cf32303b8cab90 /rtems-coverage/do_coverage
parent76ac827934b644ac365374027169ffd6d1af5818 (diff)
2010-05-19 Joel Sherrill <joel.sherrilL@OARcorp.com>
* ReportsHtml.cc, do_coverage: Can now add project specific reports to the index.html. RTEMS does this. * rtems_items.sed: New file.
Diffstat (limited to 'rtems-coverage/do_coverage')
-rwxr-xr-xrtems-coverage/do_coverage8
1 files changed, 6 insertions, 2 deletions
diff --git a/rtems-coverage/do_coverage b/rtems-coverage/do_coverage
index a7b6aa3..2bdd44d 100755
--- a/rtems-coverage/do_coverage
+++ b/rtems-coverage/do_coverage
@@ -353,8 +353,7 @@ generate_reports()
rm -rf ${results_dir}
mkdir ${results_dir}
- ${COVBASE}/covoar \
- -C ${BASEDIR}/${BSP}-tests/config \
+ ${COVBASE}/covoar -C ${BASEDIR}/${BSP}-tests/config \
*.exe > ${results_dir}/summary.txt
check_status $? "covoar failed"
@@ -381,6 +380,11 @@ generate_reports()
cat ${results_dir}/summary.txt ${results_dir}/testsWithNoEndOfTest.txt
+ cp ${results_dir}/index.html ${results_dir}/index.html.tmp
+ sed -f ${COVBASE}/rtems_items.sed \
+ <${results_dir}/index.html.tmp \
+ >${results_dir}/index.html
+
# Now create the archive of information
cp ${COVBASE}/covoar.css ${COVBASE}/*gif ${COVBASE}/table.js ${results_dir}
echo "Results saved in ${results_dir}.tar.bz2"