buildframework/helium/builder/python/lib/coverage.py
author Ross Qin <ross.qin@nokia.com>
Thu, 28 Oct 2010 11:39:28 +0800
changeset 669 ac2dc5c059f3
parent 587 85df38eb4012
permissions -rw-r--r--
merge with team repo
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:])