[latex3-commits] [latex3/l3build] main: Fix type of return value of `runtest_tasks()` in doc (6fcd047)
github at latex-project.org
github at latex-project.org
Thu Jan 4 16:45:06 CET 2024
Repository : https://github.com/latex3/l3build
On branch : main
Link : https://github.com/latex3/l3build/commit/6fcd047aeafb7206e33f23e9b467d50a08acfa74
>---------------------------------------------------------------
commit 6fcd047aeafb7206e33f23e9b467d50a08acfa74
Author: Yukai Chou <muzimuzhi at gmail.com>
Date: Thu Jan 4 23:39:26 2024 +0800
Fix type of return value of `runtest_tasks()` in doc
It actually returns a string, not a number representing errorlevel.
>---------------------------------------------------------------
6fcd047aeafb7206e33f23e9b467d50a08acfa74
CHANGELOG.md | 3 +++
l3build.dtx | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c06b9a3..1344e58 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Fixed
+- Type of return value of `runtest_tasks()` in doc
+
## [2024-01-04]
### Changed
diff --git a/l3build.dtx b/l3build.dtx
index 047f43f..aafe2e7 100644
--- a/l3build.dtx
+++ b/l3build.dtx
@@ -1157,7 +1157,8 @@
% of the current test (this is equivalent to \TeX{}'s \cs{jobname},
% \emph{i.e.}~it lacks an extension) and the current run number.
% The function |runtest_tasks| is run after the main call to the
-% engine for a test cycle. It should return an errorlevel value.
+% engine for a test cycle. It should return a string consists of task(s),
+% i.e., the CLI command(s) to execute.
% If more than one task is required, these should be separated
% by use of |os_concat|, a string variable defined by \pkg{l3build} as the
% correct concatenation marker for the system. An example of |runtest_tasks|
More information about the latex3-commits
mailing list.