Changeset 53

Show
Ignore:
Timestamp:
06/10/06 15:39:36 (6 years ago)
Author:
mk
Message:

Show coverage statistics on standard output.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/mk/support/generate_coverage.sh

    r48 r53  
    1 #/bin/sh 
     1#!/bin/sh 
     2 
     3tempfile=/tmp/coverage.tmp 
    24 
    35# Generate coverage statistics for Cheesecake. 
     
    79    cheesecake/codeparser.py \ 
    810    cheesecake/config.py \ 
    9     cheesecake/logger.py | python support/cover2html.py > $1/coverage.html 
     11    cheesecake/logger.py > $tempfile 
     12 
     13# Show generated coverage statistics on standard output. 
     14cat $tempfile 
     15 
     16# Save formatted output into HTML file. 
     17cat $tempfile| python support/cover2html.py > $1/coverage.html 
    1018 
    1119# Give read permissions so that web server can read generated files.