diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ca52c4e..e9ca3820 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,8 @@ ### Added +- **mtest 0.7.2.** 四个包的 0.7.2(同一标签、同一归档):`mcpplibs.mtest.bench` 新增 `bench::each`,逐次计时并给出分布(`name`、`.p95`、`.p99`、`.max`、`.mean`、`.per_item`), + 测量体可暂停并声明条目数;只增不改。 - **mtest 0.6.3.** 四个包的 0.6.3(同一标签、同一归档):`mcpplibs.mtest.cts` 让一致性套件对着一个主体运行 (`cts::against`、`cts::needs`)——用例需要而主体声明不具备的能力记为跳过(`unsupported: …`),既不算通过也不算失败; 运行要求而主体不具备的能力失败一次。协议不变。含 0.6.1(`skip_exit`:以退出状态判定的程序声明表示跳过的状态)与 diff --git a/pkgs/m/mcpplibs.mtest.capi.lua b/pkgs/m/mcpplibs.mtest.capi.lua index c3df0406..9ed8396b 100644 --- a/pkgs/m/mcpplibs.mtest.capi.lua +++ b/pkgs/m/mcpplibs.mtest.capi.lua @@ -21,6 +21,13 @@ package = { xpm = { linux = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -107,6 +114,13 @@ package = { }, }, macosx = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -193,6 +207,13 @@ package = { }, }, windows = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.gtest.lua b/pkgs/m/mcpplibs.mtest.gtest.lua index ab9400ba..a79a3fe5 100644 --- a/pkgs/m/mcpplibs.mtest.gtest.lua +++ b/pkgs/m/mcpplibs.mtest.gtest.lua @@ -20,6 +20,13 @@ package = { xpm = { linux = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -106,6 +113,13 @@ package = { }, }, macosx = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -192,6 +206,13 @@ package = { }, }, windows = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", diff --git a/pkgs/m/mcpplibs.mtest.manifest.lua b/pkgs/m/mcpplibs.mtest.manifest.lua index ae69b8b5..d97fccb0 100644 --- a/pkgs/m/mcpplibs.mtest.manifest.lua +++ b/pkgs/m/mcpplibs.mtest.manifest.lua @@ -22,6 +22,13 @@ package = { xpm = { linux = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -94,6 +101,13 @@ package = { }, }, macosx = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -166,6 +180,13 @@ package = { }, }, windows = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", diff --git a/pkgs/m/mtest.lua b/pkgs/m/mtest.lua index 5b8ccd1e..b5046cf1 100644 --- a/pkgs/m/mtest.lua +++ b/pkgs/m/mtest.lua @@ -25,6 +25,10 @@ -- 0.7.1 states `mcpplibs.mtest.e2e`, `.bench` and `.cts` as public modules (each -- a feature on by default), so a program that imports one builds against the -- packed library as from source. +-- +-- 0.7.2 adds `bench::each` to `mcpplibs.mtest.bench`: every call measured by +-- itself (`name`, `.p95`, `.p99`, `.max`, `.mean`, `.per_item`), with a lap that +-- pauses and states items. package = { spec = "1", namespace = "mcpplibs", @@ -43,6 +47,13 @@ package = { xpm = { linux = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -129,6 +140,13 @@ package = { }, }, macosx = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz", @@ -215,6 +233,13 @@ package = { }, }, windows = { + ["0.7.2"] = { + url = { + GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.2.tar.gz", + CN = "https://gitcode.com/mcpp-res/mtest/releases/download/v0.7.2/mtest-v0.7.2.tar.gz", + }, + sha256 = "c4e6e3d526da16f4f0ce983e4ccf5a3470ce2e603dd49cfb779ade58dd9e705a", + }, ["0.7.1"] = { url = { GLOBAL = "https://github.com/mcpp-community/mtest/archive/refs/tags/v0.7.1.tar.gz",