summaryrefslogtreecommitdiff
path: root/tests/test_pretty_print.py
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-12-07 00:56:58 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-12-07 00:56:58 (GMT)
commit750f3c8fc94744d6cc4c62de6ac86595cb2b38b6 (patch)
tree671a46777171bba93271c987cc8d9ca7ed8fc9b2 /tests/test_pretty_print.py
parentd6ad921f5f88d80556736f0a673a2c9ae8f9d945 (diff)
cleanup
Diffstat (limited to 'tests/test_pretty_print.py')
-rwxr-xr-xtests/test_pretty_print.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py
index 8f519d7..e2193e2 100755
--- a/tests/test_pretty_print.py
+++ b/tests/test_pretty_print.py
@@ -59,7 +59,7 @@ def tryread(filename):
def trysave(filename,data):
try:
if not os.path.isdir(os.path.dirname(filename)):
- print 'creating',os.path.dirname(filename)
+ #print 'creating',os.path.dirname(filename)
os.mkdir(os.path.dirname(filename))
f=open(filename,'wb')
f.write(data)
@@ -386,14 +386,14 @@ def main():
logpath, logfilename = findlogfile(builddir)
testlog = tryread(logfilename)
startdate, tests, enddate = parselog(testlog)
- print 'found sysinfo.txt'
- print 'found', len(makefiles),'makefiles'
+ print 'found sysinfo.txt,',
+ print 'found', len(makefiles),'makefiles,',
print 'found', len(tests),'test results'
imgs, txtpages = towiki(wiki_rootpath, startdate, tests, enddate, sysinfo, sysid, makefiles)
wikidir = os.path.join(logpath,sysid+'_wiki')
- print 'writing',len(imgs),'images and',len(txtpages),'wiki pages to:\n ', wikidir
+ print 'writing',len(imgs),'images and',len(txtpages),'wiki pages to:\n ', '.'+wikidir.replace(os.getcwd(),'')
for k in sorted(imgs): trysave( os.path.join(wikidir,k), imgs[k])
for k in sorted(txtpages): trysave( os.path.join(wikidir,k), txtpages[k])
contact: Jan Huwald // Impressum