From 067ebee76ac5bc5e00eb02244d7f7dbd7e6e2797 Mon Sep 17 00:00:00 2001 From: Don Bright Date: Tue, 6 Dec 2011 23:00:45 -0600 Subject: now uploads all images not just failed. diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py index 3d42901..5e8092b 100755 --- a/tests/test_pretty_print.py +++ b/tests/test_pretty_print.py @@ -202,7 +202,7 @@ SYSINFO start time: STARTDATE
end time : ENDDATE
-'''Failed image tests''' +'''Image tests''' {| border=1 cellspacing=0 cellpadding=1 @@ -223,7 +223,7 @@ TESTLOG -'''Failed text tests''' +'''Text tests''' {|border=1 cellspacing=0 cellpadding=1 @@ -413,6 +413,8 @@ def upload(wikiurl,api_php_path='/',wiki_rootpath='test', sysid='null', botname= page.save(text +'\n*[['+rootpage+']]\n') wikifiles = os.listdir(wikidir) + wikifiles = filter(lambda x: not x.endswith('html'), wikifiles) + print 'upload wiki pages:' for wikiname in wikifiles: filename = os.path.join(wikidir,wikiname) @@ -420,6 +422,7 @@ def upload(wikiurl,api_php_path='/',wiki_rootpath='test', sysid='null', botname= print 'upload',len(filedata),'bytes from',wikiname if wetrun: wiki_upload(wikiurl,api_php_path,botname,botpass,filedata,wikiname) + def findlogfile(builddir): logpath = os.path.join(builddir,'Testing','Temporary') logfilename = os.path.join(logpath,'LastTest.log.tmp') -- cgit v0.10.1