[latex3-commits] [git/LaTeX3-latex3-luaotfload] harfnode-dev: Test node leakage in tests (8ffa467)

Marcel Fabian Krüger tex at 2krueger.de
Mon Oct 28 23:53:56 CET 2019


Repository : https://github.com/latex3/luaotfload
On branch  : harfnode-dev
Link       : https://github.com/latex3/luaotfload/commit/8ffa467c4457a8ae505666683ea08771e635ef44

>---------------------------------------------------------------

commit 8ffa467c4457a8ae505666683ea08771e635ef44
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Mon Oct 28 23:53:56 2019 +0100

    Test node leakage in tests


>---------------------------------------------------------------

8ffa467c4457a8ae505666683ea08771e635ef44
 testfiles-harf/arabic.lvt          | 3 +++
 testfiles-harf/arabic.tlg          | 2 +-
 testfiles-harf/color.lvt           | 3 +++
 testfiles-harf/color.tlg           | 2 +-
 testfiles-harf/discretionaries.lvt | 4 ++++
 testfiles-harf/discretionaries.tlg | 2 +-
 testfiles-harf/math.lvt            | 4 ++++
 testfiles-harf/math.tlg            | 2 +-
 testfiles-harf/scripts.lvt         | 4 ++++
 testfiles-harf/scripts.tlg         | 2 +-
 testfiles-harf/story.lvt           | 4 ++++
 testfiles-harf/story.tlg           | 3 ++-
 12 files changed, 29 insertions(+), 6 deletions(-)

diff --git a/testfiles-harf/arabic.lvt b/testfiles-harf/arabic.lvt
index f04c609..e6123cf 100644
--- a/testfiles-harf/arabic.lvt
+++ b/testfiles-harf/arabic.lvt
@@ -97,4 +97,7 @@
 مردم همینچُک\quad
 ظاهر بهینی\quad
 \par\endgroup\newpage
+\directlua{
+  texio.write_nl(status.node_mem_usage)
+}
 \end{document}
diff --git a/testfiles-harf/arabic.tlg b/testfiles-harf/arabic.tlg
index 12d5c3a..04004f7 100644
--- a/testfiles-harf/arabic.tlg
+++ b/testfiles-harf/arabic.tlg
@@ -8799,4 +8799,4 @@ Completed box being shipped out [5]
 ...\glue 0.0 plus 1.0fil
 ...\TU/Amiri(0)/m/n/10 "5" 0035 +0:+0
 ...\glue 0.0 plus 1.0fil
-(arabic.aux)
+2 hlist, 1 rule, 1 dir, 3 kern, 1 glyph, 3 attribute, 48 glue_spec, 3 attribute_list (arabic.aux)
diff --git a/testfiles-harf/color.lvt b/testfiles-harf/color.lvt
index 3926fa6..7641c6e 100644
--- a/testfiles-harf/color.lvt
+++ b/testfiles-harf/color.lvt
@@ -23,4 +23,7 @@
 قلبي {\addfontfeature{Color=FF000080} تلون كله} بلون الحب.
 
 \newpage
+\directlua{
+  texio.write_nl(status.node_mem_usage)
+}
 \end{document}
diff --git a/testfiles-harf/color.tlg b/testfiles-harf/color.tlg
index 98701fc..600ec3f 100644
--- a/testfiles-harf/color.tlg
+++ b/testfiles-harf/color.tlg
@@ -84,4 +84,4 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\TU/Amiri(0)/m/n/10 "1" 0031 +0:+0
 ...\glue 0.0 plus 1.0fil
-(color.aux)
+2 hlist, 1 rule, 1 dir, 3 kern, 1 glyph, 3 attribute, 48 glue_spec, 3 attribute_list (color.aux)
diff --git a/testfiles-harf/discretionaries.lvt b/testfiles-harf/discretionaries.lvt
index c019a97..135e3dc 100644
--- a/testfiles-harf/discretionaries.lvt
+++ b/testfiles-harf/discretionaries.lvt
@@ -69,4 +69,8 @@ offbeat office baffle {\rm baffle} coffee HAVANA\par
 \rightskip=0pt plus1fil \pretolerance=-1 \hyphenpenalty=-10000
 offbeat office baffle {\rm baffle} coffee HAVANA
 
+\newpage
+\directlua{
+  texio.write_nl(status.node_mem_usage)
+}
 \end{document}
diff --git a/testfiles-harf/discretionaries.tlg b/testfiles-harf/discretionaries.tlg
index 2b42d0c..24989d7 100644
--- a/testfiles-harf/discretionaries.tlg
+++ b/testfiles-harf/discretionaries.tlg
@@ -809,4 +809,4 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\TU/NotoSerifCJK-Regular.ttc(0)/m/n/10 "1" 12F357 +0:+0
 ...\glue 0.0 plus 1.0fil
-(discretionaries.aux)
+2 hlist, 1 rule, 1 dir, 3 kern, 1 glyph, 3 attribute, 49 glue_spec, 3 attribute_list (discretionaries.aux)
diff --git a/testfiles-harf/math.lvt b/testfiles-harf/math.lvt
index 9e629d1..d0eb68b 100644
--- a/testfiles-harf/math.lvt
+++ b/testfiles-harf/math.lvt
@@ -21,4 +21,8 @@
 \START
 Some text then inline math \(E=mc^2\) then \(\hbox{text inside inline math}\), then
 display math \[E=mc^2\hbox{ with text inside}\]
+\newpage
+\directlua{
+  texio.write_nl(status.node_mem_usage)
+}
 \end{document}
diff --git a/testfiles-harf/math.tlg b/testfiles-harf/math.tlg
index 1fe5193..6980a68 100644
--- a/testfiles-harf/math.tlg
+++ b/testfiles-harf/math.tlg
@@ -168,4 +168,4 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\TU/Amiri(0)/m/n/10 "1" 0031 +0:+0
 ...\glue 0.0 plus 1.0fil
-(math.aux)
+2 hlist, 1 rule, 1 dir, 3 kern, 1 glyph, 4 attribute, 48 glue_spec, 4 attribute_list (math.aux)
diff --git a/testfiles-harf/scripts.lvt b/testfiles-harf/scripts.lvt
index dd719a9..cbc5eef 100644
--- a/testfiles-harf/scripts.lvt
+++ b/testfiles-harf/scripts.lvt
@@ -34,4 +34,8 @@
 \l{Urdu}    {۰۱۲۳۴۵۶۷۸۹}\par
 \l{Sindhi}  {۰۱۲۳۴۵۶۷۸۹}\par
 \l{Kashmiri}{۰۱۲۳۴۵۶۷۸۹}\par
+\newpage
+\directlua{
+  texio.write_nl(status.node_mem_usage)
+}
 \end{document}
diff --git a/testfiles-harf/scripts.tlg b/testfiles-harf/scripts.tlg
index 0085c4c..b62f524 100644
--- a/testfiles-harf/scripts.tlg
+++ b/testfiles-harf/scripts.tlg
@@ -244,5 +244,5 @@ Completed box being shipped out [1]
 ...\glue 0.0 plus 1.0fil
 ...\TU/amiri-regular.ttf(1)/m/n/10 "1" 0031 +0:+0
 ...\glue 0.0 plus 1.0fil
-(scripts.aux)
+2 hlist, 1 rule, 1 dir, 3 kern, 1 glyph, 3 attribute, 48 glue_spec, 3 attribute_list (scripts.aux)
 LaTeX Font Warning: Some font shapes were not available, defaults substituted.
diff --git a/testfiles-harf/story.lvt b/testfiles-harf/story.lvt
index 5133ab7..619c703 100644
--- a/testfiles-harf/story.lvt
+++ b/testfiles-harf/story.lvt
@@ -41,4 +41,8 @@ was at work typesetting beautiful documents.
 \font\test=cmr10 at 12pt\test
 \addfontfeature{Script=Latin}
 \input story
+\newpage
+\directlua{
+  texio.write_nl(status.node_mem_usage)
+}
 \end{document}
diff --git a/testfiles-harf/story.tlg b/testfiles-harf/story.tlg
index 3f581ec..f73a82a 100644
--- a/testfiles-harf/story.tlg
+++ b/testfiles-harf/story.tlg
@@ -775,5 +775,6 @@ Completed box being shipped out [2]
 ...\glue 0.0 plus 1.0fil
 ...\TU/lmroman10-regular.otf(1)/m/n/10 "2" 0032 +0:+0
 ...\glue 0.0 plus 1.0fil
-) (story.aux)
+)
+2 hlist, 1 rule, 1 dir, 3 kern, 1 glyph, 3 attribute, 48 glue_spec, 3 attribute_list (story.aux)
 LaTeX Font Warning: Some font shapes were not available, defaults substituted.





More information about the latex3-commits mailing list