[latex3-commits] [git/LaTeX3-latex3-l3build] master: Use call() for ctan checking (fixes #85) (04aa329)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Feb 7 00:31:38 CET 2019
Repository : https://github.com/latex3/l3build
On branch : master
Link : https://github.com/latex3/l3build/commit/04aa329a16b587874369812962bae473be69040e
>---------------------------------------------------------------
commit 04aa329a16b587874369812962bae473be69040e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Feb 6 23:31:38 2019 +0000
Use call() for ctan checking (fixes #85)
This way all tests run for the ctan target.
>---------------------------------------------------------------
04aa329a16b587874369812962bae473be69040e
CHANGELOG.md | 4 ++++
l3build-aux.lua | 2 +-
l3build-ctan.lua | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d5e7a0e..19f52d0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,10 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Fixed
+
+- Execution of all tests by `ctan` target (see #85)
+
## [2019-02-06]
### Added
diff --git a/l3build-aux.lua b/l3build-aux.lua
index d93c00c..2146d9a 100644
--- a/l3build-aux.lua
+++ b/l3build-aux.lua
@@ -97,7 +97,7 @@ function call(dirs, target, opts)
local scriptname = getscriptname()
for _,i in ipairs(dirs) do
local text = " for module " .. i
- if i == "." then
+ if i == "." and opts["config"] then
text = " with configuration " .. opts["config"][1]
end
print("Running l3build with target \"" .. target .. "\"" .. text )
diff --git a/l3build-ctan.lua b/l3build-ctan.lua
index b256ce2..09b10e0 100644
--- a/l3build-ctan.lua
+++ b/l3build-ctan.lua
@@ -102,7 +102,7 @@ function ctan()
standalone = true
end
if standalone then
- errorlevel = check()
+ errorlevel = call({"."},"check")
bundle = module
else
errorlevel = call(modules, "bundlecheck")
More information about the latex3-commits
mailing list