~mrazik/pbuilderjenkins/unity

« back to all changes in this revision

Viewing changes to hooks/build_hooks/B10runmakecheck

  • Committer: Martin Mrazik
  • Date: 2012-06-13 19:16:37 UTC
  • Revision ID: martin.mrazik@canonical.com-20120613191637-krjvpm1au3nux612
coverageĀ support

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
find tests -name '*.xml' -exec cp '{}' "$RESULT_DIR/" \;
30
30
 
31
31
 
 
32
gcovr --xml --branch -o "$RESULT_DIR/coverage.xml"
 
33
 
32
34
# Remember the exit status of the unit tests.
33
35
result=$?
34
36
 
43
45
 
44
46
# Save the test & coverage results
45
47
#cp test/test_detail.xml "$RESULT_DIR"
46
 
cp coverage.xml "$RESULT_DIR"
47
 
cp -R coveragereport "$RESULT_DIR"
 
48
#cp coverage.xml "$RESULT_DIR"
 
49
#cp -R coveragereport "$RESULT_DIR"
48
50
 
49
51
exit 0
50
52
exit $result