Skip to content

Commit

Permalink
Drop stdconfig as "build.lua" is now fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwright committed Mar 6, 2018
1 parent 27a8fa2 commit 7adf894
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions l3build-variables.lua
Expand Up @@ -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
Expand Down
7 changes: 1 addition & 6 deletions 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
Expand Down Expand Up @@ -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}}
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion l3build.lua
Expand Up @@ -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
Expand Down

0 comments on commit 7adf894

Please sign in to comment.