bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regtest compiling


From: Graham Percival
Subject: Re: Regtest compiling
Date: Thu, 2 Dec 2010 09:20:50 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Nov 30, 2010 at 06:28:28PM +0100, James Bailey wrote:
> 
> On Nov 30, 2010, at 7:47 AM, Graham Percival wrote:
> 
> > cd input/regression/
> > for f in *.ly; do lilypond $f; done;
> 
> True, but like I said, I'm trying to come as close as possible
> to mimicking the actual user experience of clicking on the image
> in the html documentation, copying everything between the
> copy/paste sections, and running lilypond on it.

Then the above two lines are what you want.  Although you might
need to add a header -- the compiled version of the regtest adds
some \paper settings.

So you'd first want to go through the input/regressions/ directory
and then:
  cat header-copied-from-a-compiled-regtest.ly $actual_file > tmp.ly
  lilypond tmp.ly

I'm imagining a 5 line (or so) bash script.

> > Why remove any lines?  The compiled version of the regtests have
> > something added, but the version in git can be easily compiled on
> > the command-line.
> > 
> exactly, if I just compile the exact regtest with the \include 
> "lilypond-book-preamble.ly", it errors with the following:
>  Processing `/Users/jamesbailey/Desktop/lilypond snippets/lily-fee7c63f.ly'

That's not the version in git.  The version in the git source code
is found in input/regressions/ , and does *not* include the
lilypond-book-preamble.

> Also, what is this version in git you speak of? I'm sure I have
> it, I just don't know what I'm looking for.

Do you have the source code?  You said that you could compile
lilypond, so you must have.  Look in the input/regressions/
directory.

Cheers,
- Graham



reply via email to

[Prev in Thread] Current Thread [Next in Thread]