diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-11-07 02:21:38 +0100 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-11-07 02:21:38 +0100 |
commit | fdf373f65a219335e6942329077e0452921c81ca (patch) | |
tree | 650423adf3645925d22a26eddba57a14e2397f67 /mktests | |
parent | 1eba3465773d90ac51f961bd74f6addb649ec0df (diff) | |
download | luaotfload-fdf373f65a219335e6942329077e0452921c81ca.tar.gz |
[tests] adapt spec runner
Diffstat (limited to 'mktests')
-rwxr-xr-x | mktests | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -149,7 +149,7 @@ local default_spec = { local resolve_font_name = function () local failed, total = 0, 0 - local resolve_name = names.resolve + local resolve_name = names.resolve_name for nset = 1, #font_name_tests do local set = font_name_tests[nset] @@ -161,7 +161,7 @@ local resolve_font_name = function () local input_spec = table.copy (default_spec) input_spec.name = input input_spec.specification = input_spec.lookup .. ":" .. input - local result = resolve_name (nil, nil, input_spec) == output + local result = resolve_name (input_spec) == output total = total + 1 if not result then failed = failed + 1 @@ -174,7 +174,7 @@ local resolve_font_name = function () or default_spec.lookup) .. ":" .. input_spec.name input_spec.optsize = input_spec.optsize or default_spec.optsize - local result = resolve_name (nil, nil, input_spec) == output + local result = resolve_name (input_spec) == output total = total + 1 if not result then failed = failed + 1 @@ -218,3 +218,4 @@ end return main () +--- vim:ft=lua:ts=2:et:sw=2 |