From b758e3894af80faa97f16c44eeb26ea66736e6db Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Sun, 8 Nov 2026 23:30:32 +0900 Subject: [PATCH] mtest 0.4.1: a body returns nothing, suite types across sources, tag conjunction Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com> --- CHANGELOG.md | 2 ++ pkgs/m/mcpplibs.mtest.capi.lua | 21 +++++++++++++++++++++ pkgs/m/mcpplibs.mtest.gtest.lua | 21 +++++++++++++++++++++ pkgs/m/mcpplibs.mtest.manifest.lua | 21 +++++++++++++++++++++ pkgs/m/mtest.lua | 21 +++++++++++++++++++++ tests/examples/mtest-capi/mcpp.toml | 2 +- tests/examples/mtest-gtest/mcpp.toml | 2 +- tests/examples/mtest-manifest/mcpp.toml | 2 +- tests/examples/mtest/mcpp.toml | 2 +- 9 files changed, 90 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff1d168d..bb716769 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,8 @@ ### Added +- **mtest 0.4.1.** 四个包的 0.4.1(同一标签、同一归档):返回值的用例体不能通过编译;静态清单跨源文件读取 + 项目自己的套件类型(`types_of`);标签选择 `a&b` 表示同时具有两个标签的用例。测试成员移到 0.4.1。 - **mtest 0.4.0.** `mcpplibs.mtest`、`mcpplibs.mtest.gtest`、`mcpplibs.mtest.capi`、`mcpplibs.mtest.manifest` 的 0.4.0 (同一标签、同一归档):用例在名字之后声明其度量的界限(`at_most`、`at_least`),库在用例结束时判定(P6.5),列举、 静态清单与各适配器携带同一界限;引擎增加 `analyze trend`,并以替换字符保存非 UTF-8 的输出。测试成员移到 0.4.0, diff --git a/pkgs/m/mcpplibs.mtest.capi.lua b/pkgs/m/mcpplibs.mtest.capi.lua index f458b05f..3da837fc 100644 --- a/pkgs/m/mcpplibs.mtest.capi.lua +++ b/pkgs/m/mcpplibs.mtest.capi.lua @@ -21,6 +21,13 @@ package = { xpm = { linux = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", @@ -51,6 +58,13 @@ package = { }, }, macosx = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", @@ -81,6 +95,13 @@ package = { }, }, windows = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.gtest.lua b/pkgs/m/mcpplibs.mtest.gtest.lua index dd85cf82..63acd409 100644 --- a/pkgs/m/mcpplibs.mtest.gtest.lua +++ b/pkgs/m/mcpplibs.mtest.gtest.lua @@ -20,6 +20,13 @@ package = { xpm = { linux = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", @@ -50,6 +57,13 @@ package = { }, }, macosx = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", @@ -80,6 +94,13 @@ package = { }, }, windows = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.manifest.lua b/pkgs/m/mcpplibs.mtest.manifest.lua index 9e2471d9..b213cfe8 100644 --- a/pkgs/m/mcpplibs.mtest.manifest.lua +++ b/pkgs/m/mcpplibs.mtest.manifest.lua @@ -22,6 +22,13 @@ package = { xpm = { linux = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", @@ -38,6 +45,13 @@ package = { }, }, macosx = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", @@ -54,6 +68,13 @@ package = { }, }, windows = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", diff --git a/pkgs/m/mtest.lua b/pkgs/m/mtest.lua index aab9518f..1559fca3 100644 --- a/pkgs/m/mtest.lua +++ b/pkgs/m/mtest.lua @@ -23,6 +23,13 @@ package = { xpm = { linux = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", @@ -53,6 +60,13 @@ package = { }, }, macosx = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", @@ -83,6 +97,13 @@ package = { }, }, windows = { + ["0.4.1"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.1.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.4.1/mtest-v0.4.1.tar.gz", + }, + sha256 = "c0a769eba5d36d5c70186fe6cb8092b2f2237b5526a694d4f14581fe81eb8c86", + }, ["0.4.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.4.0.tar.gz", diff --git a/tests/examples/mtest-capi/mcpp.toml b/tests/examples/mtest-capi/mcpp.toml index e9b020d8..b3ac0b5d 100644 --- a/tests/examples/mtest-capi/mcpp.toml +++ b/tests/examples/mtest-capi/mcpp.toml @@ -8,4 +8,4 @@ version = "0.1.0" # Use the complete candidate built-in index prepared by tests/run_members.sh. [dependencies] -mcpplibs.mtest.capi = "0.4.0" +mcpplibs.mtest.capi = "0.4.1" diff --git a/tests/examples/mtest-gtest/mcpp.toml b/tests/examples/mtest-gtest/mcpp.toml index d43374bf..5fb4affd 100644 --- a/tests/examples/mtest-gtest/mcpp.toml +++ b/tests/examples/mtest-gtest/mcpp.toml @@ -10,7 +10,7 @@ version = "0.1.0" [dev-dependencies] compat.gtest = "1.18.0" -mcpplibs.mtest.gtest = "0.4.0" +mcpplibs.mtest.gtest = "0.4.1" [test] main = { from = "mcpplibs.mtest.gtest/main" } diff --git a/tests/examples/mtest-manifest/mcpp.toml b/tests/examples/mtest-manifest/mcpp.toml index 6c290dab..9dee0269 100644 --- a/tests/examples/mtest-manifest/mcpp.toml +++ b/tests/examples/mtest-manifest/mcpp.toml @@ -8,4 +8,4 @@ version = "0.1.0" # Use the complete candidate built-in index prepared by tests/run_members.sh. [dependencies] -mcpplibs.mtest.manifest = "0.4.0" +mcpplibs.mtest.manifest = "0.4.1" diff --git a/tests/examples/mtest/mcpp.toml b/tests/examples/mtest/mcpp.toml index b2f9f20b..e4012637 100644 --- a/tests/examples/mtest/mcpp.toml +++ b/tests/examples/mtest/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 = "0.4.0" +mcpplibs.mtest = "0.4.1"