buildframework/helium/builder/python/lib/coverage.py
author srilekhas <srilekhas@symbian.org>
Wed, 18 Aug 2010 11:18:38 +0100
changeset 627 cb3264f4c6e6
parent 587 85df38eb4012
permissions -rw-r--r--
Merge : re-applies missing part of fix for Bug 2901,Add export for s60ibymacros.pm
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
#!/usr/bin/env python
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
"A script for invoking coverage from the command line."
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
import sys
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
del sys.path[0] # Otherwise "import coverage" finds this file!
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
import coverage
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
coverage.the_coverage.command_line(sys.argv[1:])