make check
したら引っかかったのでメモ。
1 回目テストした際に、メモリ不足だったので、あげたら、確かに規定値 (3000) より使っているらしい。 ところどころで出るメッセージを見ると全体的に多く使っている模様。処理自体は問題ないらしい。
でもこれってどうやって直せば良いんだろうか。
まあ、これは後回しでいいや。とりあえずパッケージ化だけしちゃおう。
================================== Web2C 2014: ./test-suite.log ================================== # TOTAL: 64 # PASS: 63 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: triptest ============== >>> Running TRIP test for TeX. >>> See /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.diffs for example of acceptable diffs. + ../pltotf /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.pl trip.tfm + ../tftopl ./trip.tfm trip.pl + diff /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.pl trip.pl + ln -s /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.tex . + ../tex --progname=initex --ini + mv trip.log tripin.log + diff /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/tripin.log tripin.log 1c1 < This is TeX, Version 3.14159265 (INITEX) 7 JAN 2014 09:09 --- > This is TeX, Version 3.14159265 (TeX Live 2014) (INITEX) 6 SEP 2014 18:44 3c3 < (trip.tex --- > (./trip.tex 450,453c450,453 < (preloaded format=trip 2014.1.7) < 1326 strings of total length 23646 < 471 memory locations dumped; current usage is 96&278 < 341 multiletter control sequences --- > (preloaded format=trip 2014.9.6) > 1372 strings of total length 24612 > 479 memory locations dumped; current usage is 104&278 > 342 multiletter control sequences 461c461 < Hyphenation trie of length 273 has 9 ops out of 500 --- > Hyphenation trie of length 273 has 9 ops out of 35111 + ../tex --progname=tex + diff /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.fot trip.fot 1,3c1,2 < This is TeX, Version 3.14159265 (INITEX) < ** &trip trip < (trip.tex ## --- > This is TeX, Version 3.14159265 (TeX Live 2014) (preloaded format=tex) > **(./trip.tex ## 17c16 < Memory usage before: 159&313; after: 102&278; still untouched: 1613 --- > Memory usage before: 185&313; after: 112&278; still untouched: 298613 75c74 < Memory usage before: 334&431; after: 292&418; still untouched: 175 --- > Memory usage before: 434&431; after: 376&418; still untouched: 295444 + diff -u /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.log trip.log --- /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.log 2014-01-20 20:01:30.000000000 +0900 +++ trip.log 2014-09-06 18:44:21.435187577 +0900 @@ -1,6 +1,6 @@ -This is TeX, Version 3.14159265 (preloaded format=trip 2014.1.7) 7 JAN 2014 09:59 +This is TeX, Version 3.14159265 (TeX Live 2014) (preloaded format=trip 2014.9.6) 6 SEP 2014 18:44 ** &trip trip -(trip.tex ## +(./trip.tex ## {vertical mode: \tracingrestores} {\write} {blank space } @@ -56,6 +56,10 @@ ..\rule(-19.0+20.0)x1.0 log file only0 +\openout0 = `8terminal.tex'. + +\openout10 = `tripos.tex'. + {no mode: \number} ! Missing number, treated as zero. @@ -70,7 +74,7 @@ {\romannumeral} {\the} -Memory usage before: 159&313; after: 102&278; still untouched: 1613 +Memory usage before: 185&313; after: 112&278; still untouched: 298613 {vertical mode: \batchmode} {\output} @@ -639,7 +643,7 @@ ....\glue 4.0 plus 2.0 minus 1.0 ..\mark{alpha} -Memory usage before: 747&484; after: 581&481; still untouched: 1492 +Memory usage before: 1027&484; after: 795&481; still untouched: 297492 {internal vertical mode: blank space } {\unvcopy} {\showlists} @@ -812,7 +816,7 @@ .\vbox(2.0+0.0)x0.0 [] .etc. -Memory usage before: 475&470; after: 290&466; still untouched: 1473 +Memory usage before: 653&470; after: 384&466; still untouched: 297473 {internal vertical mode: blank space } {\unvcopy} {\showlists} @@ -912,7 +916,7 @@ .\vbox(10000.0+0.0)x0.0 [] .\vbox(55.0+-1.0)x0.0 [] -Memory usage before: 218&459; after: 149&458; still untouched: 1473 +Memory usage before: 286&459; after: 181&458; still untouched: 297473 {internal vertical mode: blank space } {\unvcopy} {\showlists} @@ -1067,7 +1071,7 @@ .\glue(\topskip) 1.0 plus 44.0 .\hbox(0.0+0.0)x23.0 -Memory usage before: 118&328; after: 102&328; still untouched: 1473 +Memory usage before: 132&328; after: 110&328; still untouched: 297473 {restoring \box254=void} {restoring \hoffset=0.0pt} {restoring \showboxdepth=1} @@ -1402,7 +1406,7 @@ Completed box being shipped out [-2.0.0.0.11] -\vbox(16383.99998+0.0)x1000.0, glue set 16342.0fil +\vbox(16383.99998+0.0)x1000.0, glue set 16341.99998fil .\glue(\topskip) 0.0 plus 1.0fil .\hbox(22.0+0.0)x1000.0, glue set 237.5 ..\glue(\leftskip) 4.0 @@ -1508,7 +1512,7 @@ ..\glue(\parfillskip) 0.0 ..\glue(\rightskip) 0.0 -Memory usage before: 990&376; after: 584&370; still untouched: 735 +Memory usage before: 1396&376; after: 788&370; still untouched: 297473 {restoring \box254=void} {restoring \hoffset=0.0pt} {restoring \showboxdepth=1} @@ -1951,7 +1955,7 @@ {\relax} {\input} -(tripos.tex +(./tripos.tex {\par} {\uppercase} {the character 0} @@ -2015,7 +2019,7 @@ Completed box being shipped out [-2.0.0.0.11] -\vbox(16383.99998+1.0)x100.0, glue set 16239.0fil +\vbox(16383.99998+1.0)x100.0, glue set 16238.99998fil .\glue(\topskip) 12.0 plus 1.0fil .\hbox(8.0+2.0)x100.0, glue set 33.53377 ..\glue(\leftskip) 3.0 @@ -2186,7 +2190,7 @@ ..\glue(\parfillskip) 0.0 ..\glue(\rightskip) 0.0 -Memory usage before: 950&531; after: 546&448; still untouched: 706 +Memory usage before: 1400&531; after: 772&448; still untouched: 297444 {restoring \box254=void} {restoring \hoffset=0.0pt} {restoring \showboxdepth=1} @@ -2530,7 +2534,7 @@ Completed box being shipped out [-2.0.0.0.11.0.327680] -\vbox(16383.99998+0.0)x20.0, glue set 16331.0fil +\vbox(16383.99998+0.0)x20.0, glue set 16330.99998fil .\glue(\topskip) 20.0 plus 1.0fil .\hbox(0.0+0.0)x11.0, glue set 1.3fil, shifted 1.0 ..\glue(\leftskip) 3.0 @@ -2572,7 +2576,7 @@ ..\hbox(0.0+0.0)x0.0 ..\glue(\tabskip) 0.0 plus 40.0 -Memory usage before: 339&413; after: 236&405; still untouched: 706 +Memory usage before: 455&413; after: 296&405; still untouched: 297444 {restoring \box254=void} {restoring \hoffset=0.0pt} {restoring \showboxdepth=1} @@ -3323,7 +3327,7 @@ Completed box being shipped out [-2.0.0.0.11.0.327680] -\vbox(10000.0+2.0)x28.0, glue set 9737.58789fil +\vbox(10000.0+2.0)x28.0, glue set 9737.58742fil .\glue(\topskip) 7.3 plus 1.0fil .\hbox(12.7+3.7)x17.0, glue set 0.17223fil, shifted 7.0 ..\glue(\leftskip) 3.0 @@ -3613,7 +3617,7 @@ ....\hbox(0.0+0.0)x0.1, shifted -7.0 .\penalty 7 -Memory usage before: 2170&521; after: 1181&459; still untouched: 175 +Memory usage before: 3016&521; after: 1607&459; still untouched: 295444 {restoring \box254=void} {restoring \hoffset=0.0pt} {restoring \showboxdepth=1} @@ -3861,7 +3865,7 @@ Completed box being shipped out [-2.0.0.0.11.0.327680.1572864.0.-1073741 823] -\vbox(16383.99998+2.0)x100.0, glue set 16318.0fil +\vbox(16383.99998+2.0)x100.0, glue set 16317.99997fil .\glue(\topskip) 19.0 plus 1.0fil .\hbox(1.0+0.0)x90.0, glue set 41.0 ..\glue(\leftskip) 0.0 plus -10.0fil @@ -3948,7 +3952,7 @@ I'm forgetting what you said and using zero instead. 0 -Memory usage before: 640&415; after: 397&410; still untouched: 175 +Memory usage before: 888&415; after: 525&410; still untouched: 295444 {restoring \box254=void} {restoring \hoffset=0.0pt} {restoring \showboxdepth=1} @@ -4031,7 +4035,7 @@ Completed box being shipped out [-2.0.0.0.11.0.327680.1572864.1073741823 .-1073741823] -\vbox(16383.99998+0.0)x8236.0, glue set 16344.0fil +\vbox(16383.99998+0.0)x8236.0, glue set 16343.99998fil .\glue(\topskip) 13.0 plus 1.0fil .\hbox(7.0+1.0)x100.0, glue set 0.85295 ..\glue(\leftskip) 3.0 @@ -4050,7 +4054,7 @@ .\glue(\baselineskip) 10.0 plus 41.0 .\hbox(0.0+0.0)x-7127.0, shifted 7227.0 -Memory usage before: 235&401; after: 178&399; still untouched: 175 +Memory usage before: 307&401; after: 218&399; still untouched: 295444 {restoring \box254=void} {restoring \hoffset=0.0pt} {restoring \showboxdepth=1} @@ -4417,7 +4421,7 @@ Completed box being shipped out [-2.0.0.0.11.196608.327680.1572864.10737 41823] -\vbox(16383.99998+0.0)x100.0, glue set 16332.0fil +\vbox(16383.99998+0.0)x100.0, glue set 16331.99998fil .\glue(\topskip) 9.0 plus 1.0fil .\vbox(11.0+1.0)x10.0, glue set - 1.0 ..\hbox(7.0+1.0)x10.0, glue set - 1.0 @@ -4503,7 +4507,7 @@ ...\glue(\rightskip) 0.0 ..\glue 10.0 minus 10.0 -Memory usage before: 651&432; after: 417&418; still untouched: 175 +Memory usage before: 941&432; after: 565&418; still untouched: 295444 {restoring \box254=void} {restoring \hoffset=0.0pt} {restoring \showboxdepth=1} @@ -4739,7 +4743,7 @@ Completed box being shipped out [-2.2.-1118806.0.11.196608.327680.157286 4.1073741823] -\vbox(16383.99998+0.0)x205.12613, glue set 16344.0fil +\vbox(16383.99998+0.0)x205.12613, glue set 16343.99998fil .\glue(\topskip) 0.0 plus 1.0fil .\hbox(20.0+2.0)x205.12613, glue set - 0.5 ..\glue(\tabskip) 0.0154 minus 3.21002 @@ -4825,7 +4829,7 @@ .\mark{a} .\mark{b} -Memory usage before: 776&458; after: 464&452; still untouched: 175 +Memory usage before: 1098&458; after: 630&452; still untouched: 295444 {restoring \box254=void} {restoring \hoffset=0.0pt} {restoring \showboxdepth=1} @@ -6377,7 +6381,7 @@ {\input} {\endinput} {\input} -(tripos.tex +(./tripos.tex \stopinput ->\error \let \input \die {undefined} ! Undefined control sequence. @@ -6592,7 +6596,7 @@ .etc. ] -Memory usage before: 819&428; after: 720&426; still untouched: 175 +Memory usage before: 1155&428; after: 1016&426; still untouched: 295444 ^^M->|relax {vertical mode: |relax} @@ -7152,7 +7156,7 @@ % t=3796.80188 plus 332.0 plus 2.0fil plus -803.0fill minus 49.0 g=10000 .0 b=0 p=-10001 c=-10001# [-2.2.-1118806.0.11.196608.327680.1572864.1073741823] -Memory usage before: 895&439; after: 290&420; still untouched: 175 +Memory usage before: 1269&439; after: 374&420; still untouched: 295444 {|deadcycles} {end-group character }} {restoring |output={|showthe |deadcycles |global |advance |ETC.} @@ -7285,7 +7289,7 @@ I can't handle that very well; good luck. unbal -Memory usage before: 334&431; after: 292&418; still untouched: 175 +Memory usage before: 434&431; after: 376&418; still untouched: 295444 {vertical mode: end} ) (end occurred inside a group at level 1) @@ -7293,12 +7297,12 @@ (end occurred when ifcase on line 419 was incomplete) (end occurred when iftrue on line 413 was incomplete) Here is how much of TeX's memory you used: - 47 strings out of 1674 - 253 string characters out of 8354 - 2825 words of memory out of 3000 - 372 multiletter control sequences out of 2100 + 44 strings out of 1628 + 261 string characters out of 15388 + 4556 words of memory out of 300000 + 373 multiletter control sequences out of 15000+0 3041 words of font info for 4 fonts, out of 20000 for 75 - 2 hyphenation exceptions out of 307 + 1 hyphenation exception out of 659 7i,7n,9p,113b,38s stack positions out of 200i,40n,60p,500b,600s Output written on trip.dvi (16 pages, 2920 bytes). + eval ../dvitype -output-level=2 -dpi=72.27 '-page-start='\''*.*.*.*.*.*.*.*.*.*'\''' trip.dvi ++ ../dvitype -output-level=2 -dpi=72.27 '-page-start=*.*.*.*.*.*.*.*.*.*' trip.dvi + diff -u /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.typ trip.typ --- /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.typ 2014-01-20 20:01:30.000000000 +0900 +++ trip.typ 2014-09-06 18:44:21.462187577 +0900 @@ -1,4 +1,4 @@ -This is DVItype, Version 3.6 +This is DVItype, Version 3.6 (TeX Live 2014) Options selected: Starting page = *.*.*.*.*.*.*.*.*.* Maximum number of pages = 1000000 @@ -6,7 +6,7 @@ Resolution = 72.27000000 pixels per inch numerator/denominator=25400000/473628672 magnification=2000; 0.00003052 pixels per DVI unit -' TeX output 2014.01.07:0959' +' TeX output 2014.09.06:1844' 42: beginning of page 0.0.0.0.11.0.0.0.0.0 87: down4 129105920 @@ -416,7 +416,7 @@ 1075: eop 1076: beginning of page -2.0.0.0.11.0.327680.0.0.0 -1121: down4 639342208 +1121: down4 639342177 1126: push 1127: push 1128: push @@ -1084,8 +1084,8 @@ [M] 2533: pop 2534: pop -2535: y4 203921760 -2540: y0 203921760 +2535: y4 203921756 +2540: y0 203921756 2541: push 2542: push 2543: right3 196608 + for f in tripin.log trip.fot trip.log trip.typ + sed /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/tripin.log -f filter + sed tripin.log -f filter + diff a/tripin.log b/tripin.log 452,453c452,453 < 471 memory locations dumped; current usage is 96&278 < 341 multiletter control sequences --- > 479 memory locations dumped; current usage is 104&278 > 342 multiletter control sequences + is_OK=false + for f in tripin.log trip.fot trip.log trip.typ + sed /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.fot -f filter + sed trip.fot -f filter + diff a/trip.fot b/trip.fot 17c17 < Memory usage before: 159&313; after: 102&278; still untouched: 1613 --- > Memory usage before: 185&313; after: 112&278; still untouched: 298613 75c75 < Memory usage before: 334&431; after: 292&418; still untouched: 175 --- > Memory usage before: 434&431; after: 376&418; still untouched: 295444 + is_OK=false + for f in tripin.log trip.fot trip.log trip.typ + sed /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.log -f filter + sed trip.log -f filter + diff a/trip.log b/trip.log 73c73 < Memory usage before: 159&313; after: 102&278; still untouched: 1613 --- > Memory usage before: 185&313; after: 112&278; still untouched: 298613 642c642 < Memory usage before: 747&484; after: 581&481; still untouched: 1492 --- > Memory usage before: 1027&484; after: 795&481; still untouched: 297492 815c815 < Memory usage before: 475&470; after: 290&466; still untouched: 1473 --- > Memory usage before: 653&470; after: 384&466; still untouched: 297473 915c915 < Memory usage before: 218&459; after: 149&458; still untouched: 1473 --- > Memory usage before: 286&459; after: 181&458; still untouched: 297473 1070c1070 < Memory usage before: 118&328; after: 102&328; still untouched: 1473 --- > Memory usage before: 132&328; after: 110&328; still untouched: 297473 1511c1511 < Memory usage before: 990&376; after: 584&370; still untouched: 735 --- > Memory usage before: 1396&376; after: 788&370; still untouched: 297473 2189c2189 < Memory usage before: 950&531; after: 546&448; still untouched: 706 --- > Memory usage before: 1400&531; after: 772&448; still untouched: 297444 2575c2575 < Memory usage before: 339&413; after: 236&405; still untouched: 706 --- > Memory usage before: 455&413; after: 296&405; still untouched: 297444 3616c3616 < Memory usage before: 2170&521; after: 1181&459; still untouched: 175 --- > Memory usage before: 3016&521; after: 1607&459; still untouched: 295444 3951c3951 < Memory usage before: 640&415; after: 397&410; still untouched: 175 --- > Memory usage before: 888&415; after: 525&410; still untouched: 295444 4053c4053 < Memory usage before: 235&401; after: 178&399; still untouched: 175 --- > Memory usage before: 307&401; after: 218&399; still untouched: 295444 4506c4506 < Memory usage before: 651&432; after: 417&418; still untouched: 175 --- > Memory usage before: 941&432; after: 565&418; still untouched: 295444 4828c4828 < Memory usage before: 776&458; after: 464&452; still untouched: 175 --- > Memory usage before: 1098&458; after: 630&452; still untouched: 295444 6595c6595 < Memory usage before: 819&428; after: 720&426; still untouched: 175 --- > Memory usage before: 1155&428; after: 1016&426; still untouched: 295444 7155c7155 < Memory usage before: 895&439; after: 290&420; still untouched: 175 --- > Memory usage before: 1269&439; after: 374&420; still untouched: 295444 7288c7288 < Memory usage before: 334&431; after: 292&418; still untouched: 175 --- > Memory usage before: 434&431; after: 376&418; still untouched: 295444 7298,7299c7298,7299 < 2825 words of memory out of 3000 < 372 multiletter control sequences out of YYYY --- > 4556 words of memory out of 300000 > 373 multiletter control sequences out of YYYY + is_OK=false + for f in tripin.log trip.fot trip.log trip.typ + sed /home/lunastra/Momonga/pkgs/texlive/BUILD/texlive-2014/texlive-20140525-source/texk/web2c/triptrap/trip.typ -f filter + sed trip.typ -f filter + diff a/trip.typ b/trip.typ + false + echo '*** Error(s) found in trip test, investigate!' *** Error(s) found in trip test, investigate! + exit 1