diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-19 22:27:08 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-06-19 22:27:08 +0000 |
commit | 576b8f5f1969c83d1a0d9cfead3bcbe7f741caba (patch) | |
tree | e4d848d5fc9fddb329cbe9440b4fac3a91bfbe11 /scripts | |
parent | cffbd2493c6b3dedb1091e85a9675f2e294ea838 (diff) |
cleaned up path to patch being tested and output the full path to the log and console
svn path=/trunk/; revision=11803
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/load_every_help.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/load_every_help.py b/scripts/load_every_help.py index 5096c671..1ea461cc 100755 --- a/scripts/load_every_help.py +++ b/scripts/load_every_help.py @@ -127,23 +127,21 @@ def remove_ignorelines(list): make_netreceive_patch(netreceive_patch) logoutput = [] -docdir = pdrootdir + '/doc' +docdir = os.path.join(pdrootdir, 'doc') for root, dirs, files in os.walk(docdir): - #dirs.remove('.svn') -# print "root: " + root for name in files: m = re.search(".*\.pd$", name) if m: - print 'checking ' + root + '/' + name patchoutput = [] patch = os.path.join(root, m.string) + print 'checking ' + patch p = launch_pd() try: open_patch(patch) time.sleep(5) close_patch(patch) quit_pd(p) - print 'Finished ' + root + '/' + name + '\n\n' + print 'Finished ' + patch + '\n\n' except socket.error: patchoutput.append('socket.error') while True: @@ -155,9 +153,9 @@ for root, dirs, files in os.walk(docdir): break patchoutput = remove_ignorelines(patchoutput) if len(patchoutput) > 0: -# print 'found log messages: ' + name +# print 'found log messages: ' + patch logoutput.append('\n\n__________________________________________________\n') - logoutput.append('loading: ' + name + '\n') + logoutput.append('loading: ' + patch + '\n') # logoutput.append('--------------------------------------------------\n') logoutput += patchoutput # for line in patchoutput: |