Re: [frogs] Regression test file for Trackers 714 and 832

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


John Mandereau wrote:
Le jeudi 19 novembre 2009 à 22:37 +0000, Neil Puttock a écrit :
  
I'm afraid I can't think of anything which would help here.
    
What about a convoluted (and ugly) thing like writing a regtest that
writes an extra .ly input file and call lilypond on it?  System commands
are already used in other regtests, like in a (disabled?) SVG regtest.

Best,
John


  

Well, in the interests of KISS (Keep it simple, stupid), for this one we could have minimal stuff but with extended Latin accents in the file name.  However, I can't seem to run a regtest at all here at the moment (even before adding my file to /input/regression).  I've tried cleaning out and rebuilding with make clean, make all, make check.

I get this at the end of the run:
..
..
..
rm -rf /home/ian/Desktop/Development/lilypondrepo/out/test-results
mkdir -p /home/ian/Desktop/Development/lilypondrepo/out/test-results
/home/ian/Desktop/Development/lilypondrepo/scripts/build/out/output-distance --create-images --output-dir /home/ian/Desktop/Development/lilypondrepo/out/test-results input/regression/out-test-baseline input/regression/out-test/
Traceback (most recent call last):
  File "/home/ian/Desktop/Development/lilypondrepo/scripts/build/out/output-distance", line 1261, in <module>
    main()
  File "/home/ian/Desktop/Development/lilypondrepo/scripts/build/out/output-distance", line 1258, in main
    compare_trees (args[0], args[1], name, options.threshold)
  File "/home/ian/Desktop/Development/lilypondrepo/scripts/build/out/output-distance", line 969, in compare_trees
    data.compare_trees (dir1, dir2)
  File "/home/ian/Desktop/Development/lilypondrepo/scripts/build/out/output-distance", line 812, in compare_trees
    (root, dirs, files) = os.walk (dir1).next ()
StopIteration
make: *** [local-check] Error 1


The new .ly file compiles OK here locally, but I can't tell if it works using make check. 

I've attached it here to see if anyone can get it to work as part of the regression tests.

Cheers,

Ian



\version "2.13.5"

\header {
  texidoc = "Using extended Latin characters like Å¡ and Ä?
  in output file-names should not cause any problems with
  backend processors."
  
  dedication = "Lilypond Regression Test"
  title = "Má Vlast"
  subtitle = "Symphonic Tone Poem Cycle"
  instrument = "Orchestra"
  composer = "BedÅ?ich Å metana"
  opus = "Opus 64"
}
% Set up variables
globalIV = {\key f \major \time 4/4}
violinmIV = \relative c'' { \globalIV  d1 | }

%Now produce back-end files with names using extended accents

\book {
  \header {
   subsubtitle = "IV. Z Ä?eských luhů a hájů" 
  }
  \score {
    \new Staff  \violinmIV
    \layout { }
    \midi { }
  }
}




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/