From 87c5c56bc18a48e040d6641c3c565499625f5a69 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 21 Dec 2012 22:54:49 +0000 Subject: added more ignore rules; updated rsync upload for apt@puredata.info svn path=/trunk/; revision=16729 --- scripts/tests/pdtest.py | 71 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 62 insertions(+), 9 deletions(-) (limited to 'scripts') diff --git a/scripts/tests/pdtest.py b/scripts/tests/pdtest.py index a793e186..5a3d3b44 100755 --- a/scripts/tests/pdtest.py +++ b/scripts/tests/pdtest.py @@ -94,13 +94,23 @@ class PdTest(): def remove_ignorelines(self, list): ignorelines = [ 'expr, expr~, fexpr~ version 0.4 under GNU General Public License \n', - 'fiddle version 1.1 TEST4\n', - 'sigmund version 0.07\n', - 'bonk version 1.5\n' - 'pique 0.1 for PD version 23\n', 'this is pddplink 0.1, 3rd alpha build...\n', 'beware! this is tot 0.1, 19th alpha build...\n', 'foo: you have opened the [loadbang] help document\n', + 'verbose(3): comport - PD external for unix/windows\n', + 'verbose(4): freeverb~ v1.2.1\n', + 'verbose(6): backend \'aviplay\' unavailable', + 'verbose(5): threaded ImageLoading not supported!\n', + 'verbose(3): Gem: already loaded\n', + 'verbose(6): frei0r_loader: failed!!\n', + 'verbose(3): [OSCroute]: OSCx is deprecated! \n', + ' Consider switching to mrpeach\'s [routeOSC]\n', + 'rhythm: using "Large and Kolen" adaptation model', + 'slipdec: maximum packet length is 65536\n', + 'verbose(3): pdlua: already loaded\n', + 'warning: nop~ does not delay any more!\n', + 'verbose(3): libdir loader 1.9\n', + 'verbose(3): Gem: already loaded\n', 'print: bang\n', 'print: 207\n', 'print: 2 1\n', @@ -110,16 +120,59 @@ class PdTest(): '\n' ] ignorepatterns = [ + 'fiddle version 1.1 ', + 'sigmund version 0.0', + 'bonk version ' + 'pique 0.1 for PD version', + 'pd~ version ', + 'verbose\\(6\\): backend', + 'verbose\\(6\\): trying to add', + 'verbose\\(6\\): added backend', + 'verbose\\(6\\): reading \'.*\' with ', + 'Image loading support: ', + 'verbose\\(4\\): loaded image ', + 'verbose\\(3\\): SG channnel Device List', + '\\[pix_.*\\]: QuickTime support', + '\\[pix_.*\\]: Darwin support', + 'error: .* is no longer available!', + 'error: use \\[hid\\] or similar for interfacing a ', + 'listening to port number', + 'listening on port', + ' compiled', + 'iemnet - networking with Pd: ', + 'based on mrpeach/net, based on maxlib', + 'GNU General Public License', + ' IOhannes m ', + 'Institute for Electronic Music - Graz', + 'institute of electronic music and acoustics', + ' jasch ', + 'ck@mamalala.de', + 'Richard Dudas', + 'IntegraLive', + 'Bryan Jurish', + 'Martin Peach', + 'Hans-Christoph Steiner', + 'hans@eds.org', + 'Winfried Ritsch', + 'morph_2016@yahoo.co.uk', + 'okin@altern.org', + ' Ed Kelly', 'ydegoyon@free.fr', + 'Yves Degoyon', + 'Matt Wright', + 'matt wright', 'olaf.matthes@gmx.de', 'Olaf.*Matthes', '[a-z]+ v0\.[0-9]', 'IOhannes m zm', 'part of zexy-', 'Pd: 0.43.1-extended', - 'pdstring version 0.10-2 by Bryan Jurish', - 'verbose(3): libdir_loader: added .* to the canvas-local objectclass path', - 'based on sync from jMax' + 'verbose\\(3\\): libdir_loader: added .* to the canvas-local objectclass path', + 'verbose\\(14\\): Loaded libdir \'.*\' from ', + 'verbose\\(3\\): \\[import\\] loaded library: ', + 'based on sync from jMax', + 'copyright', + 'Copyright' ] for ignore in ignorelines: try: @@ -177,9 +230,9 @@ class TestLog(): # upload the log file to the autobuild website date = time.strftime('20%y-%m-%d', time.localtime(time.time())) logfilename = os.path.basename(self.logfile) - rsyncfile = str('rsync://128.238.56.50/upload/' + rsyncfile = str('apt@puredata.info:~/www/auto-build/' + date + '/logs/' + logfilename) - cmd = ['rsync', '-axv', self.logfile, rsyncfile] + cmd = ['rsync', '-axv', '-e ssh', self.logfile, rsyncfile] self.rsynclog.append(' '.join(cmd) + '\n') p = subprocess.Popen(cmd, shell=False, -- cgit v1.2.1