buildframework/helium/builder/python/lib/coverage.py
author Bob Rosenberg <bob.rosenberg@nokia.com>
Mon, 20 Sep 2010 10:55:43 +0100
changeset 658 cab9da9b71bb
parent 587 85df38eb4012
permissions -rw-r--r--
Test and fail for badly invalid unit elements when joining
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:])