On Sun, Jul 19, 2009 at 12:18:41PM +0200, John Mandereau wrote:
> Le dimanche 19 juillet 2009 à 02:07 -0700, Graham Percival a écrit :
> > - apply the attached patch.
>
> I (and probably other readers) miss the attachment.
Oops, sorry. I subconsciously tried to protect your eyes by not
attaching it. :)
The horror is attached now.
Cheers,
- Graham
diff --git a/test-lily/rsync-test.py b/test-lily/rsync-test.py
index c7ac423..fa855f0 100644
--- a/test-lily/rsync-test.py
+++ b/test-lily/rsync-test.py
@@ -149,12 +149,21 @@ def compare_test_info (options):
current_test_output = ''
for f in outputs:
m = re.search ('lilypond-([.0-9]+)-([0-9]+).test-output.tar.bz2', f)
+ ishead = 0
+ if not m:
+ m = re.search ('lilypond-([.0-9]+)-(HEAD).test-output.tar.bz2', f)
+ # ugly hack for "latest version"
+ #m.group(2) = 999 ## doesn't work; can't modify a group
+ ishead = 1
if not m:
printf (f)
assert 0
version = list (map (int, m.group (1).split ('.')))
- build = int (m.group (2))
+ if ishead:
+ build = 999
+ else:
+ build = int (m.group (2))
tup = (version, build)
if tup <= current_tuple:
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel