From 2d8acd79509308d6d39fd6daa0344c378e4213cf Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Sun, 22 Nov 2026 05:57:32 +0900 Subject: [PATCH] mtest 0.11.3: a ledger is judged by a set that runs every case --- CHANGELOG.md | 3 +++ pkgs/m/mcpplibs.mtest.capi.lua | 21 +++++++++++++++++++++ pkgs/m/mcpplibs.mtest.doctest.lua | 21 +++++++++++++++++++++ pkgs/m/mcpplibs.mtest.gtest.lua | 21 +++++++++++++++++++++ pkgs/m/mcpplibs.mtest.manifest.lua | 21 +++++++++++++++++++++ pkgs/m/mtest.lua | 24 ++++++++++++++++++++++++ tests/examples/mtest-doctest/mcpp.toml | 2 +- 7 files changed, 112 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f49d71dc..d25891a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,9 @@ mcpp 按发起加载的对象判定它们可达。声明宿主能力的程序不能以 `--mode self-contained` 打包;已安装模板的部署检查在 mcpp 按此拒绝时改用 `--mode vendored`(tests/mwrap/check_installed_template.py)。 - **第四段的两种含义写入封装说明**(docs/mwrap.md):上游的四段版本与封装修订;命令行的 `@<版本>` 按书写的前缀选择,`@=` 指名一个键。 +- **mtest 0.11.3(mcpplibs.mtest、.manifest、.gtest、.capi、.doctest)。** `mtest gate` 只在运行全部用例的集合(`full`、`release`、 + 声明了 `all` 的集合)中判定账本;其他集合的门禁判定失败与预算,并注明没有判定账本。库只改变它陈述的版本。成员 + tests/examples/mtest-doctest 移到 0.11.3。 - **mtest 0.11.2(mcpplibs.mtest、.manifest、.gtest、.capi、.doctest)。** 只作为选中用例的作用域运行的用例,其函数体中的 `step`、`exercise`、`artifact`、`metric` 与 `fixture` 事件不指名用例;运行器不再把它记为没有结束的用例。成员 tests/examples/mtest-doctest 移到 0.11.2。 diff --git a/pkgs/m/mcpplibs.mtest.capi.lua b/pkgs/m/mcpplibs.mtest.capi.lua index 4b124fb2..c914d2b7 100644 --- a/pkgs/m/mcpplibs.mtest.capi.lua +++ b/pkgs/m/mcpplibs.mtest.capi.lua @@ -21,6 +21,13 @@ package = { xpm = { linux = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -177,6 +184,13 @@ package = { }, }, macosx = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -333,6 +347,13 @@ package = { }, }, windows = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.doctest.lua b/pkgs/m/mcpplibs.mtest.doctest.lua index b6b352cf..6e3229ec 100644 --- a/pkgs/m/mcpplibs.mtest.doctest.lua +++ b/pkgs/m/mcpplibs.mtest.doctest.lua @@ -21,6 +21,13 @@ package = { xpm = { linux = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -44,6 +51,13 @@ package = { }, }, macosx = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -67,6 +81,13 @@ package = { }, }, windows = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.gtest.lua b/pkgs/m/mcpplibs.mtest.gtest.lua index 01a4ef92..2114ce77 100644 --- a/pkgs/m/mcpplibs.mtest.gtest.lua +++ b/pkgs/m/mcpplibs.mtest.gtest.lua @@ -20,6 +20,13 @@ package = { xpm = { linux = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -176,6 +183,13 @@ package = { }, }, macosx = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -332,6 +346,13 @@ package = { }, }, windows = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.manifest.lua b/pkgs/m/mcpplibs.mtest.manifest.lua index 689e1b9c..08319a35 100644 --- a/pkgs/m/mcpplibs.mtest.manifest.lua +++ b/pkgs/m/mcpplibs.mtest.manifest.lua @@ -22,6 +22,13 @@ package = { xpm = { linux = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -164,6 +171,13 @@ package = { }, }, macosx = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -306,6 +320,13 @@ package = { }, }, windows = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", diff --git a/pkgs/m/mtest.lua b/pkgs/m/mtest.lua index cddd2fd0..9e5c8c13 100644 --- a/pkgs/m/mtest.lua +++ b/pkgs/m/mtest.lua @@ -63,6 +63,9 @@ -- -- 0.11.2: what a case that runs only as the scope of a selected case does (a step, an -- exercise, an artifact, a metric, a fixture) names no case. +-- +-- 0.11.3: a ledger is judged by a set that runs every case; another set's gate notes that it +-- did not judge them. package = { spec = "1", namespace = "mcpplibs", @@ -81,6 +84,13 @@ package = { xpm = { linux = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -237,6 +247,13 @@ package = { }, }, macosx = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", @@ -393,6 +410,13 @@ package = { }, }, windows = { + ["0.11.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.11.3/mtest-v0.11.3.tar.gz", + }, + sha256 = "da46a7361a5c7dbdcad3aab3d7e2de324bd5b8248967dd787eedf1ae6b5f529f", + }, ["0.11.2"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.11.2.tar.gz", diff --git a/tests/examples/mtest-doctest/mcpp.toml b/tests/examples/mtest-doctest/mcpp.toml index e316549f..b8070ee2 100644 --- a/tests/examples/mtest-doctest/mcpp.toml +++ b/tests/examples/mtest-doctest/mcpp.toml @@ -9,4 +9,4 @@ version = "0.1.0" # Use the complete candidate built-in index prepared by tests/run_members.sh. [dev-dependencies] -mcpplibs.mtest.doctest = "0.11.2" +mcpplibs.mtest.doctest = "0.11.3"