[latex3-commits] [git/l3build] master: Indicate position in list of tests (see #46) (25ac412)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Jan 9 23:39:25 CET 2018
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/25ac412ba851ba56d2aa1f29ddefff550fd02587
>---------------------------------------------------------------
commit 25ac412ba851ba56d2aa1f29ddefff550fd02587
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Jan 9 22:39:25 2018 +0000
Indicate position in list of tests (see #46)
>---------------------------------------------------------------
25ac412ba851ba56d2aa1f29ddefff550fd02587
l3build-check.lua | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/l3build-check.lua b/l3build-check.lua
index 5f69a43..0c94ff2 100644
--- a/l3build-check.lua
+++ b/l3build-check.lua
@@ -726,8 +726,10 @@ function check(names)
end
-- Actually run the tests
print("Running checks on")
+ local i = 0
for _,name in ipairs(names) do
- print(" " .. name)
+ i = i + 1
+ print(" " .. name .. " (" .. i.. "/" .. #names ..")")
local errlevel = runcheck(name, hide)
-- Return value must be 1 not errlevel
if errlevel ~= 0 then
More information about the latex3-commits
mailing list