2021-10-31 16:06:29 +01:00
|
|
|
testfiledir = "testfiles-lua"
|
|
|
|
checkengines = {"luatex"}
|
|
|
|
stdengine = "luatex"
|
|
|
|
checkruns = 3
|
2021-10-31 17:18:23 +01:00
|
|
|
|
|
|
|
test_types = test_types or {}
|
|
|
|
test_types.mml = {
|
|
|
|
test = '.mlt',
|
|
|
|
generated = '.mml',
|
|
|
|
reference = '.mlr',
|
|
|
|
expectation = '.mle',
|
|
|
|
rewrite = function(source, result, engine, errlevels)
|
|
|
|
return os.execute(string.format('tidy -xml -indent -wrap -quiet --output-file "%s" "%s"', result, source))
|
|
|
|
end,
|
|
|
|
}
|
|
|
|
|
|
|
|
test_order = {'log', 'pdf', 'mml'}
|