buildframework/helium/builder/python/lib/coverage.py
author wbernard
Tue, 27 Apr 2010 08:33:08 +0300
changeset 587 85df38eb4012
permissions -rw-r--r--
helium_9.0-a7879c935424
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:])