Skip to content

Commit

Permalink
move bug129 test to new test suit
Browse files Browse the repository at this point in the history
  • Loading branch information
Udi-Fogiel committed Apr 22, 2024
1 parent 4e3fc72 commit fb36128
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 232 deletions.
134 changes: 0 additions & 134 deletions issues/129/feature.output

This file was deleted.

82 changes: 0 additions & 82 deletions issues/129/langids.log

This file was deleted.

Binary file removed issues/129/langids.pdf
Binary file not shown.
23 changes: 7 additions & 16 deletions issues/129/langids.tex → testfiles/luatex/bug129.lvt
Original file line number Diff line number Diff line change
@@ -1,32 +1,23 @@
\input luatexbase.sty
\input luaotfload.sty
\input{regression-test.tex}
\directlua{require'luatex-hyphen'}
\directlua{
function log(text)
texio.write_nl('term and log', text)
end
}

\def\test{%
Creating 3 langs
\directlua{lang.new(); lang.new(); lang.new()}

\newlang
}%

\directlua{lang.new(); lang.new(); lang.new()}\newlang
}
\def\newlang{%
New lang: \directlua{lg = lang.new(); log(lang.id(lg))}
\directlua{lg = lang.new(); log(lang.id(lg))}%
}

\START
\test
Again
\test

\directlua{dofile(kpse.find_file('polyglossia.lua'))}

New lang \newlang
\newlang
\directlua{polyglossia.newloader('spanish')}\newlang
\directlua{polyglossia.newloader('italian')}\newlang
\directlua{polyglossia.newloader('german')}\newlang
\directlua{polyglossia.newloader('turkish')}\newlang
\bye
\END
42 changes: 42 additions & 0 deletions testfiles/luatex/bug129.tlg
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
4
8
Lua module: polyglossia ....-..-.. 1.3 Polyglossia
9
Module polyglossia Info: Language data for spanish
(polyglossia) patterns^^Ihyph-es.pat.txt
(polyglossia) righthyphenmin^^I2
(polyglossia) loader^^Iloadhyph-es.tex
(polyglossia) hyphenation^^I
(polyglossia) synonyms^^Iespanol
(polyglossia) lefthyphenmin^^I2 on input line ...
Module polyglossia Info: Language spanish was not yet loaded; created with id 10 on input line ...
11
Module polyglossia Info: Language data for italian
(polyglossia) patterns^^Ihyph-it.pat.txt
(polyglossia) righthyphenmin^^I2
(polyglossia) loader^^Iloadhyph-it.tex
(polyglossia) hyphenation^^I
(polyglossia) synonyms^^I
(polyglossia) lefthyphenmin^^I2 on input line ...
Module polyglossia Info: Language italian was not yet loaded; created with id 12 on input line ...
13
Module polyglossia Info: Language data for german
(polyglossia) patterns^^Ihyph-de-1901.pat.txt
(polyglossia) righthyphenmin^^I2
(polyglossia) loader^^Iloadhyph-de-1901.tex
(polyglossia) hyphenation^^I
(polyglossia) synonyms^^I
(polyglossia) lefthyphenmin^^I2 on input line ...
Module polyglossia Info: Language german was not yet loaded; created with id 14 on input line ...
15
Module polyglossia Info: Language data for turkish
(polyglossia) patterns^^Ihyph-tr.pat.txt
(polyglossia) righthyphenmin^^I2
(polyglossia) loader^^Iloadhyph-tr.tex
(polyglossia) hyphenation^^I
(polyglossia) synonyms^^I
(polyglossia) lefthyphenmin^^I2 on input line ...
Module polyglossia Info: Language turkish was not yet loaded; created with id 16 on input line ...
17

0 comments on commit fb36128

Please sign in to comment.