From 063e0b07fda51acc695f28579c066ea915af10d4 Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Sat, 14 Nov 2026 15:34:06 +0900 Subject: [PATCH] mtest 0.8.5 (an output cut at its limit says so) The four packages of mtest v0.8.5 (one tag, one archive; GLOBAL and CN carry the same bytes, sha256 03629c48...). --- CHANGELOG.md | 3 +++ 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 | 24 ++++++++++++++++++++++++ 5 files changed, 90 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3a71c30..f8fe8d29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ ### Fixed +- **mtest 0.8.5.** 四个包的 0.8.5(同一标签、同一归档):`e2e::run` 的结果在输出达到上限时如实说明——`outcome` 带回 + `out_truncated`、`err_truncated` 与 `held_open`,`command` 可声明各输出的上限(`out_limit`、`err_limit`,默认值不变), + 失败的 `succeeded`、`exited` 指出被截断的输出及其长度(mcpp-community/mtest#22)。其余行为不变。 - **mtest 0.8.4.** 四个包的 0.8.4(同一标签、同一归档):测试程序在不能启动程序的系统上(`wasm32-emscripten`)可以链接——以命令探测的 能力在该目标上于编译期回答“不具备”,不再触及进程接口;0.8.0 至 0.8.3 在该目标上链接不出任何测试程序。其余目标不变。 - **compat.glfw:Win32 后端以 `requires = { "mcpp:kernel-abi=windows" }` 陈述它直接调用的系统接口。** MSVC 行、MinGW-w64 载荷与 diff --git a/pkgs/m/mcpplibs.mtest.capi.lua b/pkgs/m/mcpplibs.mtest.capi.lua index 63114930..f5360013 100644 --- a/pkgs/m/mcpplibs.mtest.capi.lua +++ b/pkgs/m/mcpplibs.mtest.capi.lua @@ -21,6 +21,13 @@ package = { xpm = { linux = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", @@ -135,6 +142,13 @@ package = { }, }, macosx = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", @@ -249,6 +263,13 @@ package = { }, }, windows = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.gtest.lua b/pkgs/m/mcpplibs.mtest.gtest.lua index 50cb8528..2e95e4c5 100644 --- a/pkgs/m/mcpplibs.mtest.gtest.lua +++ b/pkgs/m/mcpplibs.mtest.gtest.lua @@ -20,6 +20,13 @@ package = { xpm = { linux = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", @@ -134,6 +141,13 @@ package = { }, }, macosx = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", @@ -248,6 +262,13 @@ package = { }, }, windows = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.manifest.lua b/pkgs/m/mcpplibs.mtest.manifest.lua index 4faafbe9..0ca0cef1 100644 --- a/pkgs/m/mcpplibs.mtest.manifest.lua +++ b/pkgs/m/mcpplibs.mtest.manifest.lua @@ -22,6 +22,13 @@ package = { xpm = { linux = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", @@ -122,6 +129,13 @@ package = { }, }, macosx = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", @@ -222,6 +236,13 @@ package = { }, }, windows = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", diff --git a/pkgs/m/mtest.lua b/pkgs/m/mtest.lua index 123baf38..a6418c5f 100644 --- a/pkgs/m/mtest.lua +++ b/pkgs/m/mtest.lua @@ -42,6 +42,9 @@ -- -- 0.8.4 links a test program where no program can be started (wasm32-emscripten): -- a capability that asks for a command is answered absent there at compile time. +-- +-- 0.8.5 says when an output was cut at its limit: `e2e::outcome` carries +-- `out_truncated`, `err_truncated` and `held_open`; `e2e::command` states its limits. package = { spec = "1", namespace = "mcpplibs", @@ -60,6 +63,13 @@ package = { xpm = { linux = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", @@ -174,6 +184,13 @@ package = { }, }, macosx = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz", @@ -288,6 +305,13 @@ package = { }, }, windows = { + ["0.8.5"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.5.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.8.5/mtest-v0.8.5.tar.gz", + }, + sha256 = "03629c481d282f310c8cc81e4c38fcb95de742fb13bf29ac0541d6da66e121b2", + }, ["0.8.4"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.8.4.tar.gz",