~barry/autopilot/lp1488175

« back to all changes in this revision

Viewing changes to make_coverage.sh

  • Committer: CI bot
  • Author(s): Martin Pitt, Corey Goldberg, Max Brustkern, Christopher Lee, Thomi Richards
  • Date: 2014-08-06 01:20:25 UTC
  • mfrom: (493.1.17 trunk)
  • Revision ID: ps-jenkins@lists.canonical.com-20140806012025-2r7bw4rdc7q8e1md
Autopilot release.

Includes.

Adding screenshot support.
Removing python2 dependencies and code.
Internal refactoring (for logging) Fixes: 1078732
Approved by: Martin Pitt, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        rm -r htmlcov
60
60
fi
61
61
 
62
 
python -m coverage erase
 
62
python3 -m coverage erase
63
63
python3 -m coverage run --append --branch --include "autopilot/*" -m autopilot.run run $TEST_SUITE_TO_RUN
64
64
 
65
65
if [ "$INCLUDE_TEST_FILES" = "yes" ]; then
66
 
    python -m coverage html
 
66
    python3 -m coverage html
67
67
else
68
 
    python -m coverage html --omit "autopilot/tests/*"
 
68
    python3 -m coverage html --omit "autopilot/tests/*"
69
69
fi
70
70
 
71
71
if [ "$SHOW_IN_BROWSER" = "yes" ]; then