From 87ae09ac4af7331b7cd60a2482da56884400b84e Mon Sep 17 00:00:00 2001 From: Sunrisepeak Date: Fri, 13 Nov 2026 03:04:57 +0900 Subject: [PATCH] mtest 0.6.3: a conformance suite is run against a subject (cts::against, cts::needs) --- CHANGELOG.md | 4 ++++ 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 | 27 +++++++++++++++++++++++++++ 5 files changed, 94 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b586f0f0..3ca52c4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,10 @@ ### Added +- **mtest 0.6.3.** 四个包的 0.6.3(同一标签、同一归档):`mcpplibs.mtest.cts` 让一致性套件对着一个主体运行 + (`cts::against`、`cts::needs`)——用例需要而主体声明不具备的能力记为跳过(`unsupported: …`),既不算通过也不算失败; + 运行要求而主体不具备的能力失败一次。协议不变。含 0.6.1(`skip_exit`:以退出状态判定的程序声明表示跳过的状态)与 + 0.6.2(源码写出的版本与清单一致);这两个版本未单独收录。 - **openkal-platform 0.26.0。** hosted 部分增加 `x86_64-freebsd-musl` 与 `aarch64-freebsd-musl`:openkal-freebsd 0.1.0 standalone 之上的 openkal-musl 0.29.2,以及 openkal-llvm-runtime 0.20.1,链接为一个静态程序。版本组为 openkal-image 0.6.1、 openkal-musl 0.29.2、openkal-llvm-runtime 0.20.1 与 openkal-freebsd 0.1.0,运行器的宿主包含 FreeBSD;要求 mcpp 2026.11.10.1。 diff --git a/pkgs/m/mcpplibs.mtest.capi.lua b/pkgs/m/mcpplibs.mtest.capi.lua index 0404240c..a4728d4f 100644 --- a/pkgs/m/mcpplibs.mtest.capi.lua +++ b/pkgs/m/mcpplibs.mtest.capi.lua @@ -21,6 +21,13 @@ package = { xpm = { linux = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", @@ -86,6 +93,13 @@ package = { }, }, macosx = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", @@ -151,6 +165,13 @@ package = { }, }, windows = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.gtest.lua b/pkgs/m/mcpplibs.mtest.gtest.lua index 5bc0dda7..c663c3a2 100644 --- a/pkgs/m/mcpplibs.mtest.gtest.lua +++ b/pkgs/m/mcpplibs.mtest.gtest.lua @@ -20,6 +20,13 @@ package = { xpm = { linux = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", @@ -85,6 +92,13 @@ package = { }, }, macosx = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", @@ -150,6 +164,13 @@ package = { }, }, windows = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.manifest.lua b/pkgs/m/mcpplibs.mtest.manifest.lua index c549ad91..2698c449 100644 --- a/pkgs/m/mcpplibs.mtest.manifest.lua +++ b/pkgs/m/mcpplibs.mtest.manifest.lua @@ -22,6 +22,13 @@ package = { xpm = { linux = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", @@ -73,6 +80,13 @@ package = { }, }, macosx = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", @@ -124,6 +138,13 @@ package = { }, }, windows = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", diff --git a/pkgs/m/mtest.lua b/pkgs/m/mtest.lua index 21d963a8..3213055a 100644 --- a/pkgs/m/mtest.lua +++ b/pkgs/m/mtest.lua @@ -10,6 +10,12 @@ -- docs/specs/test.md): each case's checks and output, and a test session the -- engine serves (`mtest serve`); its entry states them (`test-capabilities`, -- `test-session`), which mcpp 2026.11.10.1 reads and an earlier mcpp ignores. +-- +-- 0.6.3 runs a conformance suite against a subject (`mcpplibs.mtest.cts`: +-- `cts::against`, `cts::needs`): a case that needs what the subject states it +-- lacks is skipped as unsupported, and what the run requires and the subject +-- lacks fails; the protocol is unchanged. It carries 0.6.1 (`skip_exit`) and +-- 0.6.2 (the sources write the version the manifests state). package = { spec = "1", namespace = "mcpplibs", @@ -28,6 +34,13 @@ package = { xpm = { linux = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", @@ -93,6 +106,13 @@ package = { }, }, macosx = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz", @@ -158,6 +178,13 @@ package = { }, }, windows = { + ["0.6.3"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.3.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.6.3/mtest-v0.6.3.tar.gz", + }, + sha256 = "a41e5001e40098beacb92d62f92b4f09d0e5dd2113fb98eda5e949af277cbaa2", + }, ["0.6.0"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.6.0.tar.gz",