[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue 2426 in lilypond: test-baseline does not include fonts
From: |
lilypond |
Subject: |
Issue 2426 in lilypond: test-baseline does not include fonts |
Date: |
Thu, 22 Mar 2012 09:45:54 +0000 |
Status: Accepted
Owner: ----
Labels: Type-Scripts
New issue 2426 by address@hidden: test-baseline does not include fonts
http://code.google.com/p/lilypond/issues/detail?id=2426
Using an archive of premade test-baselines, I just encountered the
following error with "make check":
input/regression/out-test/test-output-distance.ly ->
/usr/local/tmp/lilypond/out/test-results/input/regression/out-test/test-output-distance.ly
invoking gs -sDEVICE=png16m -dGraphicsAlphaBits=4 -dTextAlphaBits=4
-r101
-sOutputFile=/usr/local/tmp/lilypond/out/test-results/input/regression/out-test-baseline/test-output-distance.png
-dNOSAFER -dEPSCrop -q -dNOPAUSE
input/regression/out-test-baseline/test-output-distance.eps -c quit
Error: /undefinedfilename in --file--
Operand stack:
(/tmp/lilypond-autobuild/build/out/share/lilypond/current/fonts/otf/emmentaler-20.otf)
(r)
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1910 1 3 %oparray_pop
1909 1 3 %oparray_pop --nostringval-- 1893 1
3 %oparray_pop 1787 1 3 %oparray_pop
--nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1165/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 408
GPL Ghostscript 9.04: Unrecoverable error, exit code 1
Traceback (most recent call last):
File "/usr/local/tmp/lilypond/scripts/build/out/output-distance", line
1339, in <module>
main ()
File "/usr/local/tmp/lilypond/scripts/build/out/output-distance", line
1336, in main
compare_tree_pairs (zip (args[0::2], args[1::2]), out,
options.threshold)
File "/usr/local/tmp/lilypond/scripts/build/out/output-distance", line
1057, in compare_tree_pairs
data.create_html_result_page (dest_dir, threshold)
File "/usr/local/tmp/lilypond/scripts/build/out/output-distance", line
1039, in create_html_result_page
link.link_files_for_html (dest_dir)
File "/usr/local/tmp/lilypond/scripts/build/out/output-distance", line
659, in link_files_for_html
to_compare = self.create_images (dest_dir)
File "/usr/local/tmp/lilypond/scripts/build/out/output-distance", line
649, in create_images
system (cmd)
File "/usr/local/tmp/lilypond/scripts/build/out/output-distance", line
1087, in system
assert stat == 0
AssertionError
make: *** [local-check] Error 1
It would appear that something is trying to load a font from an absolute
path corresponding to the tree where the test-baseline was created in.
But the fonts at the time of baseline creation obviously are not identical
with the fonts at the time of regtest comparison. Any fonts used in the
test-baseline should either be embedded into the test-baseline files
themselves, or put in the test-baseline tree in a manner where the regtest
comparator can preload them when generating the test-baseline images but
not when generating the current test images.
- Issue 2426 in lilypond: test-baseline does not include fonts,
lilypond <=