[latex3-commits] [git/LaTeX3-latex3-l3build] master: Drop stdconfig as "build.lua" is now fixed (9e6709d)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Mar 6 19:38:53 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : master
Link       : https://github.com/latex3/l3build/commit/9e6709d2b9c51f0b92299dbe3c39963054f9968e

>---------------------------------------------------------------

commit 9e6709d2b9c51f0b92299dbe3c39963054f9968e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Mar 6 07:54:36 2018 +0000

    Drop stdconfig as "build.lua" is now fixed


>---------------------------------------------------------------

9e6709d2b9c51f0b92299dbe3c39963054f9968e
 l3build-variables.lua |    3 +--
 l3build.dtx           |    5 -----
 l3build.lua           |    2 +-
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/l3build-variables.lua b/l3build-variables.lua
index 83a1735..3b1862e 100644
--- a/l3build-variables.lua
+++ b/l3build-variables.lua
@@ -116,8 +116,7 @@ checkformat  = checkformat  or "latex"
 stdengine    = stdengine    or "pdftex"
 
 -- Configs for testing
-stdconfig    = stdconfig    or string.gsub(arg[0], "%.lua$", "")
-checkconfigs = checkconfigs or {stdconfig}
+checkconfigs = checkconfigs or {"build.lua"}
 
 -- Enable access to trees outside of the repo
 -- As these may be set false, a more elaborate test than normal is needed
diff --git a/l3build.dtx b/l3build.dtx
index 3a5146e..cb4b6ee 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -116,7 +116,6 @@
 \luavarset{checkformat}  {"latex"} {Format to use for tests}
 \luavarseparator
 \luavarset{checkconfigs}{\{\}}{Configurations to use for tests}
-\luavarset{stdconfig}   {\meta{Main script}}{Standard test configuration}
 \luavarseparator
 \luavarset{typesetexe}{"pdflatex"}{Executable for compiling \texttt{doc(s)}}
 \luavarset{unpackexe} {"tex"}     {Executable for running \texttt{unpack}}
@@ -655,10 +654,6 @@
 % be used. This works in the same way as |--engine|: it takes a comma list of
 % configurations to apply, overriding \var{checkconfigs}.
 %
-% Note that the setting \var{stdconfig} is used to determine the \emph{vanilla}
-% configuration: this will typically be the name of the main script (usually
-% |build| for a standard |build.lua| file).
-%
 % \subsection{Dependencies}
 %
 % If you have multiple packages that are developed separately but still interact in some way, it's often desirable to integrate them when performing regression tests.
diff --git a/l3build.lua b/l3build.lua
index e06f558..b2d314a 100644
--- a/l3build.lua
+++ b/l3build.lua
@@ -123,7 +123,7 @@ if options["target"] == "check" then
   end
 end
 if #checkconfigs == 1 and
-   checkconfigs[1] ~= stdconfig and
+   checkconfigs[1] ~= "build.lua" and
    (options["target"] == "check" or options["target"] == "save") then
    local config = "./" .. checkconfigs[1] .. ".lua"
    if fileexists(config) then





More information about the latex3-commits mailing list