OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 """ | 2 """ |
3 Script used to parse the test results and generate an HTML report. | 3 Script used to parse the test results and generate an HTML report. |
4 | 4 |
5 @copyright: (c)2005-2007 Matt Kruse (javascripttoolbox.com) | 5 @copyright: (c)2005-2007 Matt Kruse (javascripttoolbox.com) |
6 @copyright: Red Hat 2008-2009 | 6 @copyright: Red Hat 2008-2009 |
7 @author: Dror Russo (drusso@redhat.com) | 7 @author: Dror Russo (drusso@redhat.com) |
8 """ | 8 """ |
9 | 9 |
10 import os, sys, re, getopt, time, datetime, commands | 10 import os, sys, re, getopt, time, datetime, commands |
(...skipping 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1718 else: | 1718 else: |
1719 print 'Invalid result directory <%s>' % dirname | 1719 print 'Invalid result directory <%s>' % dirname |
1720 sys.exit(1) | 1720 sys.exit(1) |
1721 else: | 1721 else: |
1722 usage() | 1722 usage() |
1723 sys.exit(1) | 1723 sys.exit(1) |
1724 | 1724 |
1725 | 1725 |
1726 if __name__ == "__main__": | 1726 if __name__ == "__main__": |
1727 main(sys.argv[1:]) | 1727 main(sys.argv[1:]) |
OLD | NEW |