From 451c9a07847759955f7ae9a8ce6df5841151a6ad Mon Sep 17 00:00:00 2001 From: nsceaux Date: Tue, 16 Aug 2005 13:00:23 +0000 Subject: [PATCH] * input/no-notation/display-lily-tests.ly: moved from input/regression/ to input/no-notation. Be sure to call `display-lily-init' before trying to use the display function. --- ChangeLog | 6 ++++++ input/{regression => no-notation}/display-lily-tests.ly | 9 +++++++++ 2 files changed, 15 insertions(+) rename input/{regression => no-notation}/display-lily-tests.ly (96%) diff --git a/ChangeLog b/ChangeLog index 6283b04bb9..4a1c8472c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-16 Nicolas Sceaux + + * input/no-notation/display-lily-tests.ly: moved from + input/regression/ to input/no-notation. Be sure to call + `display-lily-init' before trying to use the display function. + 2005-08-16 Mats Bengtsson * scripts/lilypond-book.py (option_definitions): Don't localize diff --git a/input/regression/display-lily-tests.ly b/input/no-notation/display-lily-tests.ly similarity index 96% rename from input/regression/display-lily-tests.ly rename to input/no-notation/display-lily-tests.ly index 81f72cfb2d..c0372f243d 100644 --- a/input/regression/display-lily-tests.ly +++ b/input/no-notation/display-lily-tests.ly @@ -34,7 +34,15 @@ #(define (lily-string->markup str) (make-column-markup (string-split str #\NewLine))) +initTest = #(def-music-function (parser location) () + ;; Before using display-lily-music, it must be + ;; inited using display-lily-init + (display-lily-init parser) + (set! test-number 0) + (make-music 'SequentialMusic)) + test = #(def-music-function (parser location result-info strings) (string? pair?) + (display-lily-init parser) (let ((input (car strings)) (output (cdr strings))) (set! test-number (1+ test-number)) @@ -84,6 +92,7 @@ test = #(def-music-function (parser location result-info strings) (string? pair? } } { + \initTest %% Sequential music \test #"" ##[ { { a b } { c d } } #] % SequentialMusic \test #"" ##[ << { a b } { c d } >> #] % SimultaneousMusic -- 2.39.5