[latex3-commits] [git/LaTeX3-latex3-l3build] standalone: Drop stdconfig as "build.lua" is now fixed (7adf894)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Mar 6 10:21:57 CET 2018


Repository : https://github.com/latex3/l3build
On branch  : standalone
Link       : https://github.com/latex3/l3build/commit/7adf894adcf94f40155a4c5956cfb502c18d968c

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

commit 7adf894adcf94f40155a4c5956cfb502c18d968c
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


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

7adf894adcf94f40155a4c5956cfb502c18d968c
 l3build-variables.lua |    3 +--
 l3build.dtx           |    7 +------
 l3build.lua           |    2 +-
 3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/l3build-variables.lua b/l3build-variables.lua
index 45a4c10..c9e6c5b 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 c2d4e59..f947561 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -1,6 +1,6 @@
 % \iffalse
 %
-% File l3build.dtx (C) Copyright 2014-2017 The LaTeX3 Project
+% File l3build.dtx (C) Copyright 2014-2018 The LaTeX3 Project
 %
 % It may be distributed and/or modified under the conditions of the
 % LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -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}}
@@ -659,10 +658,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 e3cad38..c079aeb 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