lilypond-user
[Top][All Lists]
Advanced

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

Re: Regtest for issue 5181


From: David Kastrup
Subject: Re: Regtest for issue 5181
Date: Sat, 23 Sep 2017 09:31:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> 2017-09-22 12:22 GMT+02:00 David Kastrup <address@hidden>:
>>
>> Now things become _really_ embarrassing.  Trying to come up with
>> improvements on your regtest convinced me that this kind of
>> syntactical feature is not served well by a graphical test featuring
>> the typeset results.
>>
>> So I stole a bunch of code from the display-lily-tests.ly regtest.
>>
>> I am not convinced this is good either: only outputting stuff that is
>> less than perfect, and only to the terminal (namely without any
>> typeset output) is not nice for the printed variant of the regtests
>> either.  But if there is a better choice, it would probably also
>> warrant implementing in display-lily-tests.ly .
>
> for now only very few notes. I will need some more time to make my
> mind about it, not in the middle of the night...
>
>
> (define (lily-string->markup str) ...)
> seems to be unused (same in display-lily-tests.ly) any reason not to
> delete it?

Oh.  That's the problem with copy&paste jobs.  I'll take a look.

> I'd like to see an example for LyricText/Hyphen. Like:
>
> lyr = \lyricmode { foo }
> \test "limitation" ##[ \lyr -- #]

More like \test ##[ \lyricmode { \lyr -- } #] I guess?

> This wish is triggered by an ongoing thread at the german forum:
> https://lilypondforum.de/index.php/topic,150.msg982.html#msg982

Perfectly reasonable, and it does show that the changed test framework
not bothering to typeset the actual examples makes it easy to add
relevant test cases without wracking one's brain.

-- 
David Kastrup



reply via email to

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