On Aug 16, 2011, at 12:06 PM, David Kastrup wrote: > Reinhold Kainhofer <reinh...@kainhofer.com> writes: > >> On Di., 16. Aug. 2011 07:46:32 CEST, David Kastrup <d...@gnu.org> wrote: >> >>> lilyp...@googlecode.com writes: >>>> I think it's literally that we have too many regression test files to >>>> fit into the current allowable file size. >>> >>> Use >>> <URL:info:make#Text%20Functions> >>> for splitting the file lists into two groups, like those starting with >>> letters a-k and those that don't. >> >> I think the lys-to-tely call should stay one call. However, it would >> be quite simple to write the filenames to a file and pass that to >> lys-to-tely (like we do it in lilypond-book already for compiling the >> snippets). > > If we can't pass the filenames to a call of lys-to-tely because of > command line length limits, I don't see us passing the filenames to > "echo" or similar shell commands more easily in order to write them to a > file. >
The filenames can be written to a file via a python script, something like: import os import sys foo = filter(lambda x : x.split('.')[-1] == 'ly', os.listdir(sys.argv[1])) outfi = file('bar.txt','w') for x in foo : outfi.write(x+'\n') outfi.close () Cheers, MS _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond