buildframework/helium/builder/python/lib/coverage.py
author kelvzhu
Tue, 23 Nov 2010 10:47:23 +0800
changeset 702 341ab25bc4ef
parent 587 85df38eb4012
permissions -rw-r--r--
merge from SF
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:])