texlive[65983] trunk: l3build (20feb23)

commits+karl at tug.org commits+karl at tug.org
Mon Feb 20 22:01:17 CET 2023


Revision: 65983
          http://tug.org/svn/texlive?view=revision&revision=65983
Author:   karl
Date:     2023-02-20 22:01:17 +0100 (Mon, 20 Feb 2023)
Log Message:
-----------
l3build (20feb23)

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
    trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
    trunk/Master/texmf-dist/doc/latex/l3build/README.md
    trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
    trunk/Master/texmf-dist/doc/man/man1/l3build.1
    trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
    trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua
    trunk/Master/texmf-dist/scripts/l3build/l3build.lua
    trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx

Modified: trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua	2023-02-20 21:00:40 UTC (rev 65982)
+++ trunk/Build/source/texk/texlive/linked_scripts/l3build/l3build.lua	2023-02-20 21:01:17 UTC (rev 65983)
@@ -25,7 +25,7 @@
 --]]
 
 -- Version information
-release_date = "2023-02-16"
+release_date = "2023-02-20"
 
 -- File operations are aided by the LuaFileSystem module
 local lfs = require("lfs")
@@ -205,22 +205,23 @@
   end
 end
 if #checkconfigs == 1 and
-   checkconfigs[1] ~= "build" and
-   (options["target"] == "check" or options["target"] == "save" or options["target"] == "clean") then
-   local config = "./" .. gsub(checkconfigs[1],"%.lua$","") .. ".lua"
-   if fileexists(config) then
-     local savedtestfiledir = testfiledir
-     dofile(config)
-     testdir = testdir .. "-" .. checkconfigs[1]
-     -- Reset testsuppdir if required
-     if savedtestfiledir ~= testfiledir and
-       testsuppdir == savedtestfiledir .. "/support" then
-       testsuppdir = testfiledir .. "/support"
-     end
-   else
-     print("Error: Cannot find configuration " ..  checkconfigs[1])
-     exit(1)
-   end
+  checkconfigs[1] ~= "build" and
+  (options["target"] == "check" or options["target"] == "save" or options["target"] == "clean") then
+  local configname  = gsub(checkconfigs[1], "%.lua$", "")
+  local config = "./" .. configname .. ".lua"
+  if fileexists(config) then
+    local savedtestfiledir = testfiledir
+    dofile(config)
+    testdir = testdir .. "-" .. configname
+    -- Reset testsuppdir if required
+    if savedtestfiledir ~= testfiledir and
+      testsuppdir == savedtestfiledir .. "/support" then
+      testsuppdir = testfiledir .. "/support"
+    end
+  else
+    print("Error: Cannot find configuration " ..  checkconfigs[1])
+    exit(1)
+  end
 end
 
 -- Call the main function

Modified: trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md	2023-02-20 21:00:40 UTC (rev 65982)
+++ trunk/Master/texmf-dist/doc/latex/l3build/CHANGELOG.md	2023-02-20 21:01:17 UTC (rev 65983)
@@ -7,6 +7,15 @@
 
 ## [Unreleased]
 
+## [2023-02-20]
+
+### Changed
+- Unify `testdir` by dropping possibly trailing `.lua` passed to `--config`
+
+### Fixed
+- Ensure directories `testdir` and `resultdir` exist when `--dirty` is set
+- epoch settings with xetex
+
 ## [2023-02-16]
 
 ### Changed
@@ -620,7 +629,8 @@
 - Rationalise short option names: removed `-d`, `-E`, `-r`
 - Target `cmdcheck`: specific to LaTeX kernel work
 
-[Unreleased]: https://github.com/latex3/l3build/compare/2023-02-16...HEAD
+[Unreleased]: https://github.com/latex3/l3build/compare/2023-02-20...HEAD
+[2023-02-20]: https://github.com/latex3/l3build/compare/2023-02-16...2023-02-20
 [2023-02-16]: https://github.com/latex3/l3build/compare/2022-11-10...2023-02-16
 [2022-11-10]: https://github.com/latex3/l3build/compare/2022-09-15...2022-11-10
 [2022-09-15]: https://github.com/latex3/l3build/compare/2022-04-19...2022-09-15

Modified: trunk/Master/texmf-dist/doc/latex/l3build/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/l3build/README.md	2023-02-20 21:00:40 UTC (rev 65982)
+++ trunk/Master/texmf-dist/doc/latex/l3build/README.md	2023-02-20 21:01:17 UTC (rev 65983)
@@ -1,7 +1,7 @@
 l3build: a testing and building system for LaTeX
 =================================================
 
-Release 2023-02-16
+Release 2023-02-20
 
 Overview
 --------

Modified: trunk/Master/texmf-dist/doc/latex/l3build/l3build.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/l3build.1	2023-02-20 21:00:40 UTC (rev 65982)
+++ trunk/Master/texmf-dist/doc/man/man1/l3build.1	2023-02-20 21:01:17 UTC (rev 65983)
@@ -1,4 +1,4 @@
-.TH l3build 1 "2023-02-16"
+.TH l3build 1 "2023-02-20"
 .SH NAME
 l3build \- Checking and building packages
 .SH SYNOPSIS

Modified: trunk/Master/texmf-dist/doc/man/man1/l3build.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua	2023-02-20 21:00:40 UTC (rev 65982)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build-check.lua	2023-02-20 21:01:17 UTC (rev 65983)
@@ -55,7 +55,10 @@
 -- Set up the check system files: needed for checking one or more tests and
 -- for saving the test files
 function checkinit()
-  if not options["dirty"] then
+  if options["dirty"] then
+    mkdir(testdir)
+    mkdir(resultdir)
+  else
     cleandir(testdir)
     cleandir(resultdir)
   end
@@ -787,6 +790,8 @@
       os_setenv .. " LUAINPUTS=." .. localtexmf()
         .. (checksearch and os_pathsep or "")
         .. os_concat ..
+      -- ensure epoch settings
+        set_epoch_cmd(epoch, forcecheckepoch) ..  
       -- Ensure lines are of a known length
       os_setenv .. " max_print_line=" .. maxprintline
         .. os_concat ..

Modified: trunk/Master/texmf-dist/scripts/l3build/l3build.lua
===================================================================
--- trunk/Master/texmf-dist/scripts/l3build/l3build.lua	2023-02-20 21:00:40 UTC (rev 65982)
+++ trunk/Master/texmf-dist/scripts/l3build/l3build.lua	2023-02-20 21:01:17 UTC (rev 65983)
@@ -25,7 +25,7 @@
 --]]
 
 -- Version information
-release_date = "2023-02-16"
+release_date = "2023-02-20"
 
 -- File operations are aided by the LuaFileSystem module
 local lfs = require("lfs")
@@ -205,22 +205,23 @@
   end
 end
 if #checkconfigs == 1 and
-   checkconfigs[1] ~= "build" and
-   (options["target"] == "check" or options["target"] == "save" or options["target"] == "clean") then
-   local config = "./" .. gsub(checkconfigs[1],"%.lua$","") .. ".lua"
-   if fileexists(config) then
-     local savedtestfiledir = testfiledir
-     dofile(config)
-     testdir = testdir .. "-" .. checkconfigs[1]
-     -- Reset testsuppdir if required
-     if savedtestfiledir ~= testfiledir and
-       testsuppdir == savedtestfiledir .. "/support" then
-       testsuppdir = testfiledir .. "/support"
-     end
-   else
-     print("Error: Cannot find configuration " ..  checkconfigs[1])
-     exit(1)
-   end
+  checkconfigs[1] ~= "build" and
+  (options["target"] == "check" or options["target"] == "save" or options["target"] == "clean") then
+  local configname  = gsub(checkconfigs[1], "%.lua$", "")
+  local config = "./" .. configname .. ".lua"
+  if fileexists(config) then
+    local savedtestfiledir = testfiledir
+    dofile(config)
+    testdir = testdir .. "-" .. configname
+    -- Reset testsuppdir if required
+    if savedtestfiledir ~= testfiledir and
+      testsuppdir == savedtestfiledir .. "/support" then
+      testsuppdir = testfiledir .. "/support"
+    end
+  else
+    print("Error: Cannot find configuration " ..  checkconfigs[1])
+    exit(1)
+  end
 end
 
 -- Call the main function

Modified: trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx	2023-02-20 21:00:40 UTC (rev 65982)
+++ trunk/Master/texmf-dist/source/latex/l3build/l3build.dtx	2023-02-20 21:01:17 UTC (rev 65983)
@@ -236,7 +236,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2023-02-16}
+% \date{Released 2023-02-20}
 %
 % \maketitle
 % \tableofcontents



More information about the tex-live-commits mailing list.